However, covering all corner cases in Bash is such a pain that I might just migrate it all to Python someday.
Ask HN: What you have automated with Python?
41–48 of 48 posts
Re: Ask HN: What you have automated with Python?
#42Re: Ask HN: What you have automated with Python?
#43Re: Ask HN: What you have automated with Python?
#44We, meaning 3 of us, have automated a greenhouse using Python code running on a raspberry pi -- this includes getting data from sensors within the greenhouse (temperature, humidity, soil moisture, soil temperature, carbon dioxide), from an accurite 5 in 1 weather station outside, and then running fans (intake and exhaust), water pumps and sprinklers, camera, etc... and pump data to web, so that we do not need to be p…
Re: Ask HN: What you have automated with Python?
#45Re: Ask HN: What you have automated with Python?
#46Re: Ask HN: What you have automated with Python?
#47I managed to watch some classics on a Big Screen thanks to it!
Re: Ask HN: What you have automated with Python?
#48I have a script that logs into my bank's web interface, and extracts my current balance. I subtract out my upcoming bills/savings transactions to tell me how much money I can spend until my next paycheck. My next step is to have it email the amount spendable every morning. I'm using python 3, selenium, and SQLAlchemy connected to a home MySQL server.
My tip for others trying the same is to look into your bank's mobile site, if they have one. Mine was much simpler to parse, I only needed a single XPath expression to extract the number.
Also, if your bank's site is AJAX-y, look into the network tab of your browser, chances are you can find an URL that sends you a nice JSON back with the data you need.