Redditor Tips to Automation with Python

Redditor Tips to Automation with Python

What do you want to do with Python?

Do you want to automate web page scraping? /u/dannymi gave an example above.

Want to hook your pc up to sensors, etc? Raspberry PI is a linux machine for $50 or less, which you can connect to your network, and then connect sensors, motors, whatever to it, and control them.

Want an automatic TV remote changer? Raspberry PI with an infra-red emitter and an IR library. (Or arduino/other microcontroller, and another language 😉

Want to learn machine learning? There are Python libraries to help with this.

Want to build web pages in Python? Django or Web2py are both very good frameworks to do this. There are others. Look around for what helps you.

Want to store, search and manipulate data in databases such as MySQL, PostgreSQL, etc? Python libraries can do this. Hell Web2py has a nice abstraction layer to help hide the SQL from you.

Build a robot? Again, PI’s are great for this.

Think of something and then start looking for ways to accomplish them 🙂

*****

[–]KronktheKronk 2 points 

Depends on what you want to do. The best way to learn is:

  1. Find something you want to script
  2. Google “how to script <thing>”
  3. Follow the rabbit hole as far as you need to go to understand what you’re doing.

It’ll take a long time the first few times, but with practice you’ll soon start throwing out scripts like you’re in Hackers.

Close Menu