So for my job it's become a sudden thing where somebody in the office needs to learn Python for automated scripts dealing with both internet explorer as well as looking for/moving files in directories. The reason we need to use Python is because we already have a large database of scripts to use, but the two guys responsible for making them just left the company and nobody knows how they work, so I've volunteered to get all this stuff sorted out.
My only background in programming is with Lego Mindstorms for school competitions like 8 years ago, but math has always come pretty easily to me and I sailed through algebra in high school.
Does anybody know any good online resources from going from zero to coding in a few weeks/months?
Udacity (http://www.udacity.com/) uses python as it's cs101 course, which is free. That should give you a pretty decent basic overview of Python, and from there you could specialize your knowledge to suit your needs. Also, the python website has it's own tutorial (http://docs.python.org/tutorial/) if you don't want to watch video's. I would start with one of those to get a feel for some basics and then move into documentation (http://www.python.org/doc/) for your specific needs.
Assuming that you’re familiar with the basics of programming logic, Learning Python is a classic. Don’t be put off by the size, you just read the basic parts and use the rest as reference.
Assuming that you’re familiar with the basics of programming logic, Learning Python is a classic. Don’t be put off by the size, you just read the basic parts and use the rest as reference.
I'll vouch for Learning Python.
For just moving files you should be able to pick up what you need fairly quickly. What exactly do you mean by automated internet explorer stuff?
Assuming that you’re familiar with the basics of programming logic, Learning Python is a classic. Don’t be put off by the size, you just read the basic parts and use the rest as reference.
I'll vouch for Learning Python.
For just moving files you should be able to pick up what you need fairly quickly. What exactly do you mean by automated internet explorer stuff?
Basically, parsing either text files or HTML pages and looking for certain conditions (whether something is flagged as condition 1, 2 or 3 usually) and then navigating around one of our internal tools that's built around IE6 to do certain things (such as sending projects still flagged as condition 1 that should really have advanced to condition 2 or 3 after a certain length of time and sending the work back to whoever is responsible for it in our automated workflow system). I wish I could get more specific but I don't want to give away too much about who I work for.
Assuming that you’re familiar with the basics of programming logic, Learning Python is a classic. Don’t be put off by the size, you just read the basic parts and use the rest as reference.
I'll vouch for Learning Python.
For just moving files you should be able to pick up what you need fairly quickly. What exactly do you mean by automated internet explorer stuff?
Basically, parsing either text files or HTML pages and looking for certain conditions (whether something is flagged as condition 1, 2 or 3 usually) and then navigating around one of our internal tools that's built around IE6 to do certain things (such as sending projects still flagged as condition 1 that should really have advanced to condition 2 or 3 after a certain length of time and sending the work back to whoever is responsible for it in our automated workflow system). I wish I could get more specific but I don't want to give away too much about who I work for.
If you're going to be parsing HTML files with Python you will want to use Beautiful Soup.
I'm not sure exactly what you mean about navigating internal tools, but if you're needing to send keystrokes and mouseclicks to a GUI, you might look into pywinauto or swapy.
This guy in my lab that never programmed anything found Learning Python useful, as did I (but I've programmed in other languages before). Given how specific what you need to do is, maybe one of the Python Cookbooks might be a good supplement? I can't personally attest to those.
Now I'm coming at this from zero previous programming knowledge beyond a bit of self teaching on the odd Excel macro, and I'm just looking to pick up a new hobby by messing around on the odd spare evening, but I'm finding it very user friendly and useful.
Posts
Steam: CavilatRest
For just moving files you should be able to pick up what you need fairly quickly. What exactly do you mean by automated internet explorer stuff?
Lynda.com has a Python Essentials course as well:
http://www.lynda.com/Python-training-tutorials/415-0.html
Basically, parsing either text files or HTML pages and looking for certain conditions (whether something is flagged as condition 1, 2 or 3 usually) and then navigating around one of our internal tools that's built around IE6 to do certain things (such as sending projects still flagged as condition 1 that should really have advanced to condition 2 or 3 after a certain length of time and sending the work back to whoever is responsible for it in our automated workflow system). I wish I could get more specific but I don't want to give away too much about who I work for.
If you're going to be parsing HTML files with Python you will want to use Beautiful Soup.
I'm not sure exactly what you mean about navigating internal tools, but if you're needing to send keystrokes and mouseclicks to a GUI, you might look into pywinauto or swapy.
http://www.amazon.co.uk/Python-Programming-Absolute-Beginner-Edition/dp/1598631128
Now I'm coming at this from zero previous programming knowledge beyond a bit of self teaching on the odd Excel macro, and I'm just looking to pick up a new hobby by messing around on the odd spare evening, but I'm finding it very user friendly and useful.