When editing Python text, I usually use emacs on Linux and XEmacs on Windows. However, I would love a cross-platform Python development environment in the style of Visual Slickedit or similar…
Python IDE wanted, good, cheap and fast. :)
Posted by on June 29th, 2003 in Uncategorized · 1 CommentCrash Different
Posted by on June 26th, 2003 in Uncategorized · 0 CommentsMijKopThee, a popular Dutch blog, has a link to this cool clip of very, err, enthusiastic Mac user. Be warned, it needs a Windows Media 9 codec. Doh.
For your reference, I like Macs…
I’ve just been reloaded
Posted by on June 20th, 2003 in Uncategorized · 10 CommentsFinally I too went to see Reloaded. We went to a particularly cozy little cinema in Delft called The Apollo…
Swapping variables without a temporary
Posted by on June 19th, 2003 in Uncategorized · 1 CommentThis is from the first recipe in my brand-new Python cookbook. It’s quite obvious, but it hasn’t really struck me before. Well doh…
A quick Python note
Posted by on June 19th, 2003 in Uncategorized · 0 CommentsHave a look at this brief snippet:
In [2]: a = range(10)
In [3]: 3 in a
Out[3]: 1
In [4]: 3 not in a
Out[4]: 0
In [5]: not (3 in a)
Out[5]: 0
Input/output 4 should strike you as a tad strange if you don’t know Python that well but are familiar with similar constructs in other languages…
Python new-style objects and __slots__
Posted by on June 16th, 2003 in Uncategorized · 0 CommentsThis should be very useful:
In [5]: class oldObject:
…: ….def __init__(self):
…: ……..self.someVar = 1
…:
In [6]: o1 = oldObject()
In [7]: o1.someVar = 2
In [8]: o1.someOtherVar = 3
This is of course expected behaviour…
Python bookses
Posted by on June 11th, 2003 in Uncategorized · 2 CommentsI broke down and ordered Python in a Nutshell by the Python guru Alex Martelli as well as The Python Cookbook, edited by Alex Martelli and David Ascher…
Where are the frikking WMDs?
Posted by on June 5th, 2003 in Uncategorized · 0 CommentsYes, where are those Weapons of Mass Destruction that the US was warning everybody about?..
