modify
This commit is contained in:
@@ -34,9 +34,12 @@ def main(check_list = list, main_folder_in = str):
|
|||||||
|
|
||||||
# print(os.get_exec_path())
|
# print(os.get_exec_path())
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
|
||||||
check_folders = ["Downloads", "Dokumente", "diokdkij"]
|
check_folders = ["Downloads", "Dokumente", "diokdkij"]
|
||||||
|
#show all Folders from dir
|
||||||
|
test = [os.path.join(".", o) for o in os.listdir(".") if os.path.isdir(os.path.join(".",o))]
|
||||||
|
print(test)
|
||||||
running_main = main(check_list=check_folders, main_folder_in=os.sep + "home" + os.sep + "jonnybravo")
|
running_main = main(check_list=check_folders, main_folder_in=os.sep + "home" + os.sep + "jonnybravo")
|
||||||
for run in running_main:
|
for run in running_main:
|
||||||
with open("output_file", "a") as file:
|
with open("output_file", "a") as file:
|
||||||
|
|||||||
Reference in New Issue
Block a user