[Tutor] python -v command

Stephanie pythoninfo at dodgycauldron.com
Fri May 2 18:21:31 CEST 2008


Thank you to everyone for your help.  I'm sorry to waste your time with such
a silly question.  I am now back up and running!  I really appreciate your
responses.

On Fri, May 2, 2008 at 11:16 AM, Kent Johnson <kent37 at tds.net> wrote:

> 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?
>
> You have started python in verbose mode. It didn't actually install
> anything, it is showing you all the modules that are loaded when
> python starts up.
>
> At the end, notice that the prompt is >>>. That is the python
> interpreter prompt. Type control-D to exit the interpreter and get
> back to the shell prompt.
>
> Near the end, notice that it did also print the version - Python
> always does that when it runs interactively. You can also use the
> command
>  python --version
> to print the version number and exit.
>
> Kent
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20080502/bdbf5d82/attachment.htm>


More information about the Tutor mailing list