This month I have an active subscription to cbtNuggets (http://www.cbtnuggets.com), a training site for IT stuff. Once I finished my mission, I found that I have some time left in which I can learn something else. Since there isn’t a course for git, I chose the next best thing: a course in Python taught by Ben Finkel.
So far the material is basic and can be learned from many web sources, so I’m not repeating it here. There are a couple chewy nuggets that I’d like to remember though – which is what this blog is about!
- The online python documentation can be found at https://docs.python.org.
- There is a library of python code and stuff located at https://pypi.python.org/pypi
- Python 2.x is preinstalled on OS X (I love Apple!). To find the version running on your Mac, use the command python –version or python -V at a command line. Mine is running 2.7.6.
- Launch python’s interactive mode from the terminal using the command python.
- Execute a python program file from the terminal using the command python <filename>.
That’s all for tonight. I’m off to beg my lovely financial officer for a copy of the UltraEdit Studio!