Re: [Tutor] Q on path information

2006-05-25 Thread Alan Gauld
> And "whereis python" returns > python: /usr/bin/python /usr/bin/python2.4 /usr/lib/python2.4 > /usr/include/python /usr/include/python2.4 > /usr/share/man/man1/python.1.gz > > Does this mean I am using the python executable in > "/usr/bin/python/" but it then looks for built-in modules in > "

[Tutor] Q on path information

2006-05-25 Thread Ebba Cecilia Ovesdotter Alm
I have 2 questions I'm curious about (BTW, I use the default python installation as delivered with Linux SuSe 10.0) (1) How can I print the path to the python I'm using and where it imports built-in modules? python.sys returns (i probably want 64bit, so this seems ok): /usr/lib/python24.zip /usr/