How to find the unique elements of two lists:
def unique(self, a, b):
return [item for item in a if item not in b]
How to find the unique elements of two lists:
def unique(self, a, b):
return [item for item in a if item not in b]
Google’s Python engineers have launched a new project called Unladen Swallow that seeks to improve the performance of the Python programming language. One of the project’s goals is to replace the Python virtual machine with an LLVM-based JIT.
Software projects grow over time. They get bigger, more stuff is added, patches added and bugs fixed. New features added, and removed and code removed. But who keeps track of the changes and ensures that your source code repository stays clean? That they are no old undeleted files, no missing unittest, that all dependecies are correct? In short: that they are no broken windows (link) and a nice clean environment a engineer can checkout, compile and run within minutes?
I’m using the ReInCheck tool for that. Currently it is customized to support a multi module maven project which consists of OSGi bundles. But it should be easy to adopt it to your needs.
The site linuxquestions.org asked what the programming language of the year should be – And again python wins: http://www.linuxquestions.org/questions/2008-linuxquestions.org-members-choice-awards-83/programming-language-of-the-year-695662/
Found a game about programming languages comparison – http://shootout.alioth.debian.org. Great fun if you wanna show that the programming language you like most, is also the best
For example to show that python is better then perl:

The FAQ for the game is over here: http://shootout.alioth.debian.org/u32q/faq.php