Archive for the ‘python’ Category

Python Programming For Fun

Friday, August 13th, 2010

Chris Myers has a nice selection of short intermediate-level Python programs and tutorials for Python programmers interested in enhancing their skills in the language, and having a better understanding of recursion and object-oriented programming.

Optimizing Python With Jython

Wednesday, July 28th, 2010

Being interpreted and dynamic, Python is generally not as fast as compiled languages. Here is a technique for optimizing Python by way of Jython, including reasons why you’d want to use Java to implement some parts of your Python program and exactly how to write an extension in Java.

Python Internals

Monday, May 10th, 2010

If you’re a Python programmer or have an interest in the language take a look at this well-written article on Python internals, the first of a series, from Yaniv Aknin.

Python Classes

Monday, March 22nd, 2010

Google has taken the intensive two-day Python class that they offer internally to employees with very little programming experience (didn’t know they hired people like that), and put it here for free under the Creative Commons attribution 2.5 license. The class covers installing Python on your computer through text files, processes, and http connections. There are Python exercises and Python lecture videos.

Like, Python

Friday, February 26th, 2010

Have you always secretly harbored a resentment over having to use the syntax that Python forces you to use, in order to make a living and earn the money that you need to go and party it up with your homeboys on the weekend?

Like, Python will totally help you with that. Now you can reuse ‘like’, ‘um’, ‘yeah’, and many other terms that are syntactically correct and semantically relevant to you, right there in your Python code bro. (Not sure if ‘whoa’ is supported– we may have to wait for the next release)

It’s hard to overstate the importance of this. Additional keywords include ‘bro’, omg, sup, hey, hella, and many more, from six of our most important subcultures (valleygirl, fratguy, internets, Snoop, local, and misc. Can’t forget misc.)

Jonathan Howard was probably operating under too much stress when he created Like, Python using Python’s tokenizer to add keywords to Python’s lexical understanding. Like, Python is a superset of Python so that scripts written in Python are valid Like, Python. So you have no excuse not to use it, pretty much.

Think of the time savings, yo. You’ll be able to totally finish work and get to the mall that much faster.

DreamPie Python Shell

Monday, February 22nd, 2010

Frustrated with what he saw as limitations of IDLE, Noam Yorav-Raphael created DreamPie, a Python Shell that he claims is a new kind of interactive shell, combining the best features of IDLE, IPython and the Python shell. The window is divided into the ‘history box’, for viewing previous commands/output, and a ‘code box’, and you also can copy code from anywhere, edit the code and have it run instantly.

3D Character Creator

Thursday, February 11th, 2010

The open source MakeHuman software lets you model photorealistic humanoid 3-D characters in less than two minutes, or so says the documentation. The GUI looks very friendly and you can export figures in 3D graphics formats that are supported by many different modellers and rendering engines.

Intro To IronPython

Wednesday, February 10th, 2010

Here’s an introductory video on IronPython, open source .NET implementation of Python which allows those programming in Python the benefits of the .NET libraries while still being able to maintain compatibility with CPython.

Make Games, Learn Python

Tuesday, December 29th, 2009

We have done posts on how to make a video game for kids before, and we have done a slew of posts on python in the last several years, but here is a way to teach kids how to create their own very simple video games, like Tic Tac Toe and Hangman and learn python principals in the process. Released under the creative commons license, 2nd edition by Albert Sweigart.