PYTHONSTARTUP not working on debian?

Erik Max Francis max at alcyone.com
Wed May 23 16:42:36 EDT 2001


Rainy wrote:

> I'm running debian unstable, python 1.5, 2.0 and 2.1(compiled),
> and PYTHONSTARTUP is set to ~/.pythonrc.py, which contains
> line import time. When I start interactive session, and try
> time.time() for example, it gives me a name error, as if
> time isn't imported. What's wrong?

You haven't given enough information to resolve this.  Are you exporting
the environment variable?

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Nationalism is an infantile sickness.
\__/ Albert Einstein
    Alcyone Systems' CatCam / http://www.catcam.com/
 What do your pets do all day while you're at work?  Find out.



More information about the Python-list mailing list