import re
# import os
#
# path = "./data/openssl_openssl"
# files = os.listdir(path)
#
# for file in files:
#     if os.path.getsize(os.fspath(path + '/' + file)) == 0:  # 文件大小为0
#         print(file + '是空文件，即将执行删除操作！')
#         os.remove(os.fspath(path + '/' + file))  # 删除这个文件
    # print(file)
# with open('./data/openssl/openssl_cve.txt', 'r') as f:
#     content = f.read().split()
#     for c in content:
#         print(c)
# lst1 = [2, 1, 3, 4, 1]
# lst2 = list(set(lst1))
# print(lst2)
# str = "[['1.1.0'], ['1.1.0a'], ['1.1.0b'], ['1.1.0c']]"
# a = re.split('[\[\]\'\, ]', str)
# # print(re.split('[\[\]\'\, ]', str))
# for i in range(a.count('')):
#     a.remove('')
# print('test' in 'test/asdasfasf')
print('excluding' in 'Up to (excluding)')