+ 4
What "boring stuff" have you automated with programming?
There is a popular book called "Automate The Boring Stuff With Python" and I'm wondering, what are some everyday repeatable tasks you have implemented this idea on. Doesnt have to be exclusively Python.
4 ответов
+ 6
I downloaded a zip file containing over 5,000 files. many duplicates and other versions (European, Japanese, etc) ... only wanting 1 copy of each and only US versions, I wrote a python script that sorted them how I wanted. What would have taken hours, took seconds.
Next I needed to change the file extensions from .gen to .bin... I altered the same code slightly and changed roughly 1600 file extensions in a few seconds
+ 6
Research filter. I found several hundred websites on a topic but wanted only those that looked maintained / professional. I also didn't want to spend a week or more manually checking.
So...I wrote a script to visit every site, capture the homepage, take a screenshot and finally thumbnail. I added steps to avoid getting flagged as a bot, because I wasn't on my home network and I know why bots are bad (so don't do the stuff that spawns regulations, right?). Worked out fine.
+ 5
I agree Ekansh. definitely useful for mathematical solutions. i created a program to calculate exactly how much you would need to pay each month in order to pay off credit card debt. I'm sure this will be useful for the rest of my life! I wish I had known programming while still in school.
+ 4
Not boring but stuff in which you need to do maths manually can be easy done by making a code. (That's what in which coding has helped in my schooling.)