import os import shutil from tkinter import Tk from tkinter.filedialog import askopenfilenames # Function to create a project folder def create_folder(folder_name): if not os.path.exists(folder_name): os.makedirs(folder_name) print(f"Folder '{folder_name}' created successfully.") else: print(f"Folder '{folder_name}' already exists.") # Function to upload files to the project folder def upload_files(destination_folder): Tk().withdraw() # Hide the root window files = askopenfilenames(title="Select files to upload") if files: for file_path in files: try: shutil.copy(file_path, destination_folder) print(f"Copied: {file_path}") except Exception as e: print(f"Error copying {file_path}: {e}") else: print("No files selected.") # Main function to create a folder and upload files def main(): folder_name = input("Enter project folder name: ") create_folder(folder_name) upload_files(folder_name) if __name__ == "__main__": main()
top of page

Branding Merch

0 products

No products here yet...

In the meantime, you can choose a different category to continue shopping.

bottom of page