Python Tutorial | How to organize your files with Python

preview_player
Показать описание
In this tutorial, I will be sharing a very useful Python script I use very frequently when I need to organize my files by file type.

Buy Me a Coffee? Your support is much appreciated!
Venmo: @Jie-Jenn

Source Code:

More tutorial videos on my website

Check out my gears here on Amazon:
Рекомендации по теме
Комментарии
Автор

Honestly amazing! My folder now looks clean and organized!

videodude
Автор

Thanks a lot Jie Jenn for your clear Explanation..

nagarajunagari
Автор

thanks man
keep making videos
I wish you best of luck

novartisnk
Автор

Great job.Thanks just one comment please increase the code while writing.

nurlansalkinbayev
Автор

Hi, your videos are awesome, thank you for sharing.


can you please explain how does os.path.join works in this code?

deserteagle
Автор

How do I make it organize a specific directory instead of just what directory the script is in?
When I change current_dir to 'C:\Users\example\example', I get "SyntaxError: (unicode error) 'unicodeescape' codec can't decode bytes in position 2-3: truncated escape"

Edit: Nevermind, I figured it out. I just had to put r before the directory, so it would appear as current_dir = r'C:\Users\example\example'

lack_Rose
Автор

In case i want to copy the file to the new directory??

Автор

Hi Cool video!! Brother Im a newbie and never used python. Ive installed pycharm free and tried to run it but its not working. All problems are solved but it isn't working for some reason I cant figure out. Can you help me Jie? Thank you very much, Albert

para_arriba
Автор

The images file won't work for some reason. I downloaded a .jpg file for some testing, however, the image file keeps going into the other files folder. I did everything the same as you. Why is this?

will.g
Автор

Do i need to install python3 in order to work?

sergelengerelmaa
Автор

module 'ntpath' has no attribute 'splittext'

dzjrx