2to3

Python is a great programming language and I’d recommend it to anyone who’s starting out and wondering what all this programming malarkey is all about. Beware Python 3.x though. There were many changes made between Python 2.x and 3.x some of which mean that programmes written for earlier versions will not work on Python 3.x. There is a programme called 2to3 which is bundled with Python 3.x that “converts” old code to Python 3.x code. The problem is it doesn’t really work and everything that I’ve tried it on remains broken. “Why can’t you just write everything in Python 3.x”, I hear you ask. Because I’m trying to use some classes and libraries that were written by other people in older versions and haven’t been released in the new version yet.

No Python media player yet, then…

Advertisements

About Mr Chimp

I make music, draw pictures, browse the internet, programme, and make sweet, sweet cups of tea until the early hours.
This entry was posted in Programming and tagged , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s