help! - cmd line interpreter gone "dumb"

Gerhard Häring gh at
Sun Jul 6 22:45:04 CEST 2003

Tim wrote:
> Maybe I've been working too long, but has anyon had their python interpreter
> stop taking commands.
> The IDLE version works fine, but under Windoze:
> 1) execute "python" in teh command shell
> 2) ...interpreter comes up fine
> 3) type in anything and you get "SyntaxError: invalid syntax"
> Literally, you could type in "import sys" or anything common and you get the
> same results.

I've seen that when I used os.spawn* (or was it os.execv*?), apparently 
in a wrong way.

> Any help greatly appreciated--thanks.

Typical Windows answer: reboot and try again ;-)

-- Gerhard

More information about the Python-list mailing list