year SMALLINT NOT NULL DEFAULT EXTRACT (YEAR FROM CURRENT_DATE)
Devamını Oku »Monthly Archives: Şubat 2021
python xls to xlsx converter windows
def get_list_files_in_folders(path: str, file_ext: str = ''): """ directory deki ve sub directory deki dosyalarin listesini doner """ tmp_list = [] for root, dirs, files in os.walk(path): for file in files: if file.endswith(file_ext): tmp_list.append(os.path.join(root, file)) # print(os.path.join(root, file)) return tmp_list def get_file_name_from_path(path: str): return os.path.basename(path) import os import win32com.client as …
Devamını Oku »python base dir
BASEDIR = os.path.abspath(os.path.dirname(__file__))
Devamını Oku »