[Tutor] centos 7 - new setup.. weird python!
mats at wichmann.us
Wed Jul 19 17:01:57 EDT 2017
On 07/19/2017 02:48 PM, bruce wrote:
> Testing setting up a new Cnntos7 instance.
> I ran python -v from the cmdline... and instantly got a bunch of the
> following! Pretty sure this isn't correct.
> Anyone able to give pointers as to what I've missed.
It is expected, actually. You perhaps intended a capital v. The
lowercase one means this:
-v Print a message each time a module is initialized,
place (filename or built-in module) from which it is
When given twice, print a message for each file that is
for when searching for a module. Also provides
module cleanup at exit.
so you asked it to tell you what it was doing in extra detail, and it
> python -v
> # installing zipimport hook
> import zipimport # builtin
> # installed zipimport hook
> # /usr/lib64/python2.7/site.pyc matches /usr/lib64/python2.7/site.py
> import site # precompiled from /usr/lib64/python2.7/site.pyc
> # /usr/lib64/python2.7/os.pyc matches /usr/lib64/python2.7/os.py
> import os # precompiled from /usr/lib64/python2.7/os.pyc
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
More information about the Tutor