Robert Kern wrote: > W. Watson wrote: >> Robert Kern wrote: >>> W. Watson wrote: >>> >>>> I did a search in the python24 folder for sys.exec* (in c:\python24), but >>>> came up with nothing. [nothing in a search of c:--sys.exec*] I have two >>>> python folders, c:\python24 and c:\python25. The contents of both folders >>>> look fairly similar and each have a python.exe. I do not use a PIL or >>>> Numeric in 2.5. >>> I'm sorry. sys is a module. I meant for you to execute the following Python >>> code: >>> >>> import sys >>> print sys.executable >>> >> I'm savvy about a number of languages, but not yet about Python. What py >> file will allow this to be executed? > > Just the lines between the comments here: > > #### > import sys > print sys.executable > #### > > I recommend going through the tutorial first, before worrying about Numeric or > PIL. Here is the URL for the 2.4.4 version: > > http://www.python.org/doc/2.4.4/tut/tut.html > Here's the program I ran.
### begin #!/usr/bin/python # Check mysys import sys print sys.executable ### end It put up a black screen in a flash and disappeared. Wayne T. Watson (Watson Adventures, Prop., Nevada City, CA) (121.015 Deg. W, 39.262 Deg. N) GMT-8 hr std. time) Obz Site: 39° 15' 7" N, 121° 2' 32" W, 2700 feet "Humans aren't the first species to alter the atmosphere; that distinction belongs to early bacteria, which some two million years ago, invented photosynthesis. -- Field Notes from a Catastrophe, Kolbert -- Web Page: <home.earthlink.net/~mtnviews> -- http://mail.python.org/mailman/listinfo/python-list