Desktop File Organizer - Automation Script in Python

preview_player
Показать описание
Automate moving files with a python script. In all honesty, this video is longer than it needed to be. I will work on making the next one as brief as possible. I'm here to answer any questions as well.
Thanks, take care.

----------- Here is the code used in the video -----------

import os
import subprocess

if '[TXT FILES]' in showdesktop:
elif '[TXT FILES]' not in showdesktopTXT and '.txt' in showdesktopTXT:
else:
None

if '[PDF FILES]' in showdesktop:
elif '[PDF FILES]' not in showdesktopTXT and '.pdf' in showdesktopTXT:
else:
None
-------------------- END OF CODE --------------------------
Рекомендации по теме
welcome to shbcf.ru