Spaces:
Running
Running
File size: 200 Bytes
526c234 |
1 2 3 4 5 6 7 8 |
import os
def open_folder(folder_path: str):
if os.path.exists(folder_path):
os.system(f'start "" "{folder_path}"')
else:
print(f"The folder '{folder_path}' does not exist.") |