Category: Uncategorized


I’ve been working on learning Python lately and there is a boatload of good information out there that is scattered all over the Internet.  Luckily in the spirit of open source software, most of the information is free.  Some of it can be had in more convenient packaging for a low price alternatively.  Personally, my primary focus is Python 3.0 since that is the future and I don’t expect to be working on any legacy Python code before I learn Python much, much better.  By the time I get to that point of confidence I’m sure I’ll be familiar with the nuances of Python 2.6-2.7 though.  Python 2.7 is the last major release of the Python 2.0 series as of this writing.  The developers intend to do bug fixes for 2-5 more years but there will be no new features added.  If you insist on using 2.7 or 3.x is not available, you are not totally S.O.L. though.  There is a library called “future” that has many features from the newer series so you’ll be able to use them in your 2.x code.  Anyways, on with some of the resources…

Podcasts:

I’m heavy into podcasts since it’s something constructive I can listen to while cooking dinner, driving, etc.  There happen to be three great Python podcasts out there that I know of(if you know of any other current ones, let me know). Most of the resources that I am going to share with you below were parsed by me from listening to these podcasts.

Python 411 – The first one I checked out was Python 411.  This one is a one-man show but he does a great job keeping it interesting by interviewing developers and other folks that use Python in their day to day jobs.  He branches off into scientific and sometimes philosophical realms but it’s all going to be interesting too the average nerd who is interested in learning Python anyhow.

From Python Import Podcast – This was the second Python podcast I discovered.  It’s relatively new to the scene and features 3 slightly jaded developers who are obviously good friends aside from coworkers.  They tend to rant on some higher level topics but I think it’s valuable to listen to anyhow if you are interested in taking Python further than just a hobby.

A Little Bit of Python – This podcast features several core pillars of the Python community and they discuss all kinds of topics from cons to newbie items.  There are a few good interviews as well with some other large names in the Python community.  If Guido were to come onto a podcast, this would probably be the one.  As a bonus, this podcast has a bit of European flair as well.

Reading Material:

Unfortunately, more than just podcasts will be required to learn Python. There are PLENTY of great books out there but most of them are still for Python 2.x.  Here are a few resources that I have managed to hunt down for Python 3.

Python Docs – The obvious place to go is the official Python docs and if you look in there, you will see the official Python Tutorial.  If you have an iPod Touch, iPhone or iPad, you can also purchase(from the app store for $.99) an offline version of the Python 2.6 docs.  Even though it’s for 2.6, it’s still worth having even if you are focused on Python 3.x.

Learning Python by Mark Lutz – I have seen good and bad reviews of this book but I personally think it’s a great place to start.  The bad is that there is a lot of repetition and he teaches you the wrong way to do things before teaching you the correct way but on the converse, it’s good to know that there are so many ways to do things in Python since it can spark your creativity if you are not a veteran developer.  If you are very experienced in some other language, perhaps you’ll find this book too slow.  For me, it’s been mostly a good read.  SOME of the examples in the book are the most clear cut ones I can find on there topics anywhere.  If you have an iOS device, you can purchase a standalone e-version of the book for under $5.

Instructional videos:

If you learn better by watching it done, this might be just the ticket.  There are several excellent Python specific video sites out there so it’s worth a bit of your time to check out some of the videos.

Showmedo – This site was started by a guy that was trying to put together some distance learning materials for a company.  The videos are all provided by individuals and are all rated and monitored for quality.  This site doesn’t have EVERYTHING that I’ve looked for but there is a lot of good info here.  Be aware that SOME(not many) of the videos cost money to watch.

Python Miro Community – This site has video archives of several pycons on top of several other categorized videos covering other Python-related subjects.  I just found this site as of today so I have not had time to make a quality assessment yet but the interface looks great and the some of the categories look quite promising.

Interactive Learning:

If you learn better by doing, this is something you should check out.

Python Koans – The Python Koans are based on the Ruby Koans.  What’s a Koan?  According to the wiki, “It consists of a story, dialogue, question, or statement, the meaning of which cannot be understood by rational thinking but may be accessible through intuition“.  That describes the theme of the koans but in practice, it’s a series of tests build upon each other.  So when you run the Koan, it will fail.  You will then need to jump into the code and figure out what is wrong with it to make it pass the test.  There are MANY MANY tests here.  Even if you are a cracker jack Python wiz, it would probably still take you 2-3 hours to plow through the Koans.  They are available for Python 2 and Python 3.  When you download the package, you get both.  The Python Koans are probably the quickest way to jump into coding some Python.  The tests start out at a very basic, beginner level and if you pay attention to HOW the tests fail, you will see clues to help you succeed.

O’Reilly 3-part Python certificate course – This is a 4-part course(at $400 per part) that is offered remotely and somewhat interactively by the O’Reilly School of Technology.  When you complete the third part of the course, you will receive a certification in Python from the University of Illinois.  I cannot vouch for this course since I have not taken it but I am certainly considering it.  The price is a little steep but still MUCH cheaper than the one offered locally to me by the University of Washington.  The course is brand new so it focuses on Python 3.  I looked around online for some reviews and the O’Reilly School has had some mixed reviews.  Most of them stated the the material was outdated(won’t be a problem here) or that the course was not challenging enough(ymmv).  Whatever the case, at the end, you will receive a certification for what it’s worth.

Python Meetups – There are 95 groups in 60 cities in 12 countries.  Surely you are near one of these.  I have not gone to one yet but I do look forward to it.  There are 3 groups in the Seattle area alone!

Sometimes you just want a break.  Maybe you have a tech job and you don’t want to come home to “help desk” calls.  Maybe you are sick of your cousin getting viruses because he surfs unsavory websites.  I have a few subtle solutions to make these calls fewer and further between.

www.geekstogo.com – If your friend/relative has more time than money and hopefully a second computer, this website is awesome!  It is a forum filled with incredibly smart people who are glad to walk anyone through the process of fixing a virused computer.  The only thing they ask is that the person LISTENS to them very carefully, follows directions and does try to jump ahead.  These guys use a bunch of free, downloadable tools to solve problems in a methodical fashion.  One of my favorite tools from that site is “Combofix.exe”.  That tools digs much deeper than Malwarebytes and Hijackthis can possibly dig.  One of the most valuable pages on their site is the Malware and Spyware Cleaning Guide.

www.lmgtfy.com – Let me Google that for you is the ultimate in smart allelic responses to easy and downright stupid questions that people should know better than to ask you.  It’s simple but effective.  Someone asks you a question like, “What is Geordy Rostad’s tech blog called?”.  So in response, you want to send them a message that it would be easier to figure it out for themselves than to ask you this question.  This is where lmgtfy comes in.  Go to the site and put in your query.  A link will be generated.  Send them to this link and they will see animation of going to Google and slowly typing in the query.  Then they will be directed to the real Google results.  They would have to be pretty dense not to get the message.  Here is an example: what was the first .com registered?

logmein – If you can’t shurk your duties to be the family’s tech support sucker, then you probably need SOME sort of remote login agent to at least avoid a pointless car ride.  Logmein has a free version that can be installed on any Mac or PC.  It allows you to remotely log in, even from your cell phone or iPod Touch, and diagnose many problems without leaving your couch.  It does get a little shaky when you are dealing with a nasty spyware infection that is using up all the bandwidth but when someone is asking how to do some specific task and you don’t feel like walking them through tedious steps, you can jump on with logmein and make short work of the issue.  I used to use gotomypc but logmein has a free version.  It doesn’t support printing or drag and drop on the free version but who really cares for our purpose here?

Logmein ALSO has an excellent secondary use.  What if you want to secure your network but still need to be able to access it for troubleshooting?  You may not want to expose an SSH port on your router to the outside.  This is where logmein comes in handy.  Logmein to your desktop on the private subnet and then SSH from there.  This way, you can run a network with minimal or even NO exposed public ports.  Logmein uses a 256bit SHA encryption and I have yet to hear of an exploit or vulnerability for logmein or gotomypc.

1-900-call-me-lots – If you REALLY can’t discourage your friends and family from calling you, maybe it’s time to monetize your efforts.  Why not change your cell phone to a 1-900 number?  This will keep your calls shorter than usual and have the side-effect of discouraging telemarketers from disturbing you.  If they still insist on calling you, you’ll be happy to take their calls and laughing all the way to the bank.

P.S. if you are my friend or family and you are actually bothering to read this then this is certainly not directed at you.  You are hereby granted a few more freebies…

Powered by WordPress. Theme: Motion by 85ideas.