[Tutor] python -v command

Jerry Hill malaclypse2 at gmail.com
Fri May 2 18:13:33 CEST 2008


On Fri, May 2, 2008 at 11:33 AM, Stephanie <pythoninfo at dodgycauldron.com> wrote:
> Hi,
> I'm at a very beginning level of Python knowledge, but I use several Python
> programs via the Macintosh Unix Terminal.  I was trying to quickly see which
> version of Python I am running and typed in the command "python -v".  That
> was obviously not the correct command to use.  It installed several things
> and now I'm unable to run my Python programs.
>
> Can someone tell me if there there is a way to undo the python -v command?
> Any suggestions for how I can remedy the situation.

'python -v' just runs the python interpreter in verbose mode -- all
those messages are about various libraries the interactive interpreter
loads before it gives you the prompt.

Running 'python -v' didn't (or at least should not) change anything in
your environment.  Can you show us what happens when you try to run
some of your existing code that used to work?

-- 
Jerry


More information about the Tutor mailing list