[pymvpa] Syntax Error

Yaroslav Halchenko debian at onerussian.com
Fri Dec 19 20:39:32 UTC 2008


> plus, i find it easier to debug in an ide than to copy paste into the 
> prompt - copy paste into a script file, and pylint will tell you what's 
> wrong before you run it :)
thanks Scott!

would you recommend any particular Python tutorial?

so, is wingide runs pylint automagically prior each run? that is cool.

how well does it display docstrings for PyMVPA? do they come useful?

As for debugging, indeed, that is what constantly raises a question for
me either to switch to some nice IDE. For now, for quick debugging I
just insert

import pydb
pydb.debugger()

at the place where I need to invoke debugger.

IPython on the other hand also comes with debugging 'magic', so just

pdb on

and then it would automagically bring a debugger at your hands whenever
an exception is thrown

-- 
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Student  Ph.D. @ CS Dept. NJIT
Office: (973) 353-1412 | FWD: 82823 | Fax: (973) 353-1171
        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102
WWW:     http://www.linkedin.com/in/yarik        



More information about the Pkg-ExpPsy-PyMVPA mailing list