Making the move to Python 3

A couple of weeks ago, Ole Zorn tweeted out something very interesting.

I followed up with.

The Python community has sort of forked 1 between users sticking with Python 2 2 and those moving on to Python 3. 3 Even though the maintainers of Python extended the life of Python 2, the writing is on the wall that we should be thinking about the move to Python 3. All of this got me thinking about how to move from Python 2 to 3, without disrupting existing scripts on my Mac and iPad. I wanted a way to learn the differences in the two versions and have a place to test most of my scripts before moving completely over to Python 3. 5

I got my answer over the weekend with the Raspberry Pi Foundation's announcement of the Raspberry Pi 3. I've done a few projects with the Raspberry Pi, but this update looks like it will make my Python training even easier. The updated board includes:

  • 1.2GHz 64-bit quad-core ARM Cortex-A53 CPU
  • 1 GB of RAM at 900 MHz
  • Integrated 802.11n wireless LAN
  • Integrated Bluetooth 4.1
  • Same form factor as Raspberry Pi 2

The best part? The board is still only $35! 4

The integrated WiFi and Bluetooth is what is making this so much more appealing. I've been using a bunch of dongles in the past to make my Raspberry Pi more portable. Now I can have a small setup with a full Unix environment, running Python 3, and not have the hassle of dongles everywhere.

So when Ole releases the update to Pythonista ( and hopefully Editorial too), I'll be able to take advantage of the newer features of Python 3 sooner rather than later.

  1. Ok not kind of... we are really forked. 

  2. Because it still works REALLY good. 

  3. Because they were smart enough to move on. 

  4. Assuming you can still find one on sale. 

  5. Some stuff in Pythonista can only be tested on an iOS device. 

Previous posts:

  1. Capture and merge photos with Pythonista

    A common task I have with my job is to do a post project inspection and create a report on my findings. This process involves looking at equipment that's been installed as part of a project, document how well the equipment is working, or investigate why the equipment isn't performing …

  2. Adding jQuery navigation arrow

    I've always admired the little things a person does for their website. The last big update I made to my site was adding a built-in search box. One of the subtle touches I've wanted to add is adding a button that will bring a user back to the top of …

  3. Never change your Pelican footer again

    One of the less glamorous tasks of hosting a blog is keeping all the small details up to date. One of those details is the copyright date on the site. Here's an easy way to never have to worry about this again. Pelican themes have a core set of files …

  4. Letting someone else fail first

    I've been trying to expand my Python skills and recently ran into a problem with mixing string and Unicode text together. After some searching I found my answers from Maurizio Sambati, creating of the Octopress Pelican theme.

    In order to help beginners avoid a few of them and understand most …

  5. Raspberry Pi SD Card Setup in OS X

    This is a quick guide on how to write a Raspberry Pi distro image to a new SD card from the command line on OS X. The original steps are from an article that I've updated for my own reference.

    1. Select the Raspberry Pi image you want to …