Saturday, May 19, 2012

spyderlib 2.1.9 on Python 2.7.3

[UPDATE 2013-06-15] This post is obsolete. Please see the spyderlib split, and download spyderlib-2.2. note on Ubuntu 13.04, spyderlib- is still available from software center.

Change isdir = os.path.isdir to a function, so it can be called with zero args.
def isdir
    return is.path.isdir(self)

No comments:

Post a Comment

Fork me on GitHub