Here are some scripts that I wrote in Python. Any suggestions or comments are welcome.
My daily backup script:
This script uses tarfile module for compressing, shutil module for copying files, subprocess module to run shell commands to encrypt the backup using gpg, logging module to write logs at every action and arrow module to manipulate with date, time. Backups older than 7 days are automatically removed at the end. My weekly and monthly backup scripts use the same logic. These scripts are called in background using cron, no intervention is necessary.
This script extracts data from hundreds of nfo files generated by TinyMediaManager. This is an example to extract data from a tvshow.nfo
This is an example to extract data from a movie.nfo