I am researching about the scripts that save time. If you did something amazing it's time to tell the HN.
Ask HN: What is the most amazing python script you ever wrote to save your time?
1–10 of 16 posts
Re: Ask HN: What is the most amazing python script you ever wrote to save your time?
#2Do you specifically want it to be about Python scripts or also other languages?
Re: Ask HN: What is the most amazing python script you ever wrote to save your time?
#3I wrote a script that allows me to acquire videos from a very popular video providing site (YOU mighT have Used it BEfore) from channels on said site, and converts them into mp3's, tags them with metadata from eyed3 and then adds them to my music library for use when I DJ over the weekends.
This script has saved me possibly more than 4 hours a week of manually hunting down music, plus if I need to get a specifically popular (stupid) song (despacito), I can always buy that on gmusic and just manually add it.
Re: Ask HN: What is the most amazing python script you ever wrote to save your time?
#4Do you specifically want it to be about Python scripts or also other languages?
Yes why only Python?
Re: Ask HN: What is the most amazing python script you ever wrote to save your time?
#5Re: Ask HN: What is the most amazing python script you ever wrote to save your time?
#6I wrote a script to move automatically parse and move laboratory data off of instruments
Re: Ask HN: What is the most amazing python script you ever wrote to save your time?
#7Wrote a script to generate json for data-driven testing. The script looks at a table and transforms that data into json describing the values in each row/column of the table.
Re: Ask HN: What is the most amazing python script you ever wrote to save your time?
#8I wrote one that parses the help desk tickets for IDs and spits out the SQL, bash, and vi commands that I use to resolve them. That way I only have to deal with the hiccups and typos.
I wrote one to rename my 300 DBVisualizer connections so I could get to them by typing the initials of the server and database. It also put the department number on the end. I wasn't good enough to parse the XML so I just went through line by line.
Re: Ask HN: What is the most amazing python script you ever wrote to save your time?
#9I wrote a Python script to aid with converting database backups into CSV files. The script takes a folder of encrypted .zip files (each containing a database backup), decrypts the .zip, converts the SQL data to CSV, and renames the output file according to my desired format. Turned a ~1-minute process I had to follow for each individual file, into an automated one-click step that I can run on an entire batch, all while I'm working on something else
Re: Ask HN: What is the most amazing python script you ever wrote to save your time?
#10I bought a business in 2014 and needed to migrate customers from the previous owner's stripe account into ours. At the time, stripe didn't have an easy way of doing it and I wrote a python script to handle that.