[Tutor] calculation with arrays: shape mismatch
Alan Gauld
alan.gauld at btinternet.com
Tue Oct 30 01:03:43 CET 2007
"John" <washakie at gmail.com> wrote
> To be honest, part of the problem is that I work in about four
> different
> Python environments!!
> This here was just a cut from running a script I wrote at the DOS
> prompt...
> but that is not my usual flavor.
really? What Python version are you using?
Is it a special ScviPy flavour?
I don't know how the
>>> run foo.py
syntax works. It certainly gets a syntax error on all my Python
prompts.
I'm curious to know how it worked - run would need to be a new
command (not a function: no parens) defined within the interpreter
somehow...
Glad you found your error though.
Alan G.
More information about the Tutor
mailing list