Good advice - also, try running tabnanny.py (in the standard library)
on your source.
On 7/4/05, Konstantin Veretennicov <[EMAIL PROTECTED]> wrote:
> On 7/4/05, Shidan <[EMAIL PROTECTED]> wrote:
> > Another message I can't figure out is the following:
> >
> > C:\MontLingua\python>ironpythonconsole
Thanks xtian I thought that might be the problem as well, but the
program runs fine in both CPython and Jython. I played around with the
indenting for both snippets to no avail. Any more pointers?
Shidan
On 7/4/05, xtian <[EMAIL PROTECTED]> wrote:
> It sounds like both problems are space/tab
On 7/4/05, Shidan <[EMAIL PROTECTED]> wrote:
> Another message I can't figure out is the following:
>
> C:\MontLingua\python>ironpythonconsole MontyLingua.py
> IronPython.Objects.PythonSyntaxError: unexpected token at
> MontyLingua.p
> y:268
There is a script in CPython distribution called reind
It sounds like both problems are space/tab indenting problems - the
first because line 241 is interpreted as at the block/level of the
class, rather than the method, and the second because the code at line
268 is indented further than the preceding line.
Try turning on visible whitespace in your e
Hi I'm getting the following message, couldn't find anything similar
on the bug tracker:
C:\MontLingua\python>ironpythonconsole MontyLingua.py
IronPython.Objects.PythonNameError: name 'self' not defined
at __main__.MontyLingua$maker0() in C:\MontLingua\python\MontyLingua.py:line 241
at __main