UTSAVS26 / PySnippets

Collection of reusable Python code snippets for all.
https://sites.google.com/view/pysnippets/
MIT License
11 stars 17 forks source link

Addition of File organizer snippet #11

Closed priyanka350 closed 18 hours ago

priyanka350 commented 19 hours ago

Issue Title : [Documentation Update]: Addition of File organizer snippet

Closes: #9


Snippet Details 📃

Summary of Changes

Example Usage

# Example usage of the organize_files_by_type function
folder_to_organize = r"path_to_the_folder"  # Replace with the actual folder path
try:
    organize_files_by_type(folder_to_organize)
    print("Files organized successfully.")
except ValueError as e:
    print(e)

Type of Change ☑️

What sort of change have you made:


How Has This Been Tested? ⚙️


Checklist ☑️

github-actions[bot] commented 19 hours ago

👋 Thank you for opening this pull request! We're excited to review your contribution. Please give us a moment, and we'll get back to you shortly!

Feel free to join our community on Discord to discuss more!