Pylab Fails with Runtime Error on Win XP Under Python 2.4
W. eWatson
notvalid2 at sbcglobal.net
Sun Oct 12 18:07:57 EDT 2008
Dennis Lee Bieber wrote:
> On Sun, 12 Oct 2008 12:56:26 -0700, "W. eWatson"
> <notvalid2 at sbcglobal.net> declaimed the following in comp.lang.python:
>
>
>> Oddly when I use cmd, it gets me to settings and docs. If I try c:\whatever
>> I get a msg, and it remains in the same folder.
>
> That's likely the defined "home directory" on your machine.
>
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
>
> C:\Documents and Settings\Dennis Lee Bieber>cd c:\bin
>
> C:\bin>e:
>
> E:\>cd "UserData\Dennis Lee Bieber\My Documents\Python Progs"
>
> E:\UserData\Dennis Lee Bieber\My Documents\Python Progs>dir
> Volume in drive E is Data
> Volume Serial Number is 2626-D991
>
> Directory of E:\UserData\Dennis Lee Bieber\My Documents\Python Progs
>
> 08/23/2008 01:26 PM <DIR> .
> 08/23/2008 01:26 PM <DIR> ..
> 08/23/2008 01:26 PM 1,089 azel_interp.py
> 04/22/2007 04:43 PM 1,622 binadd.py
> 04/22/2007 06:03 PM 1,485 binadd2.py
> 12/11/2006 10:21 PM 119,889 BookList.zip
> <snipped>
> 06/13/2008 08:46 PM 1,929 timing.py
> 11/03/2007 10:31 PM 56 trips.dat
> 03/31/2006 11:31 PM 10 update_log
> 11/30/2005 10:11 AM 104 ut_00.py
> 112 File(s) 397,123,218 bytes
> 2 Dir(s) 270,550,671,360 bytes free
>
> E:\UserData\Dennis Lee Bieber\My Documents\Python Progs>
>
> NOTE: to change directory you need to enter the command:
> cd new-directory
> Without the "cd" your entry is being treated as the path to an
> executable program -- and directories, of course, are not executable. To
> change to a different partition/drive, you do enter just the drive
> letter and a colon. And you need to do that separately -- each drive
> maintains a "current directory"
>
> E:\UserData\Dennis Lee Bieber\My Documents\Python Progs>cd c:\bin
>
> E:\UserData\Dennis Lee Bieber\My Documents\Python Progs>dir
> Volume in drive E is Data
> Volume Serial Number is 2626-D991
>
> Directory of E:\UserData\Dennis Lee Bieber\My Documents\Python Progs
>
> <snipped>
>
> E:\UserData\Dennis Lee Bieber\My Documents\Python Progs>c:
>
> C:\bin>
>
> Notice how changing drive to C: put me into the bin directory
> specified earlier. If I now enter e:, I'll be back to the Python Progs
> directory.
>
>> I guess PythonWin is a download for another IDE than IDLE. Will modules be
>> available like mathplotlib if I install it, or do I have to establish them
>> for it? I'll look PythonWin once I get past the cmd operation.
>>
> It comes supplied with the ActiveState Python download (which also
> includes the win32 extensions). I believe it can also be obtained as a
> stand-alone with the win32 stuff.
>
> The win32 extensions are:
> http://sourceforge.net/project/platformdownload.php?group_id=78018 (just
> checked, PythonWin is included)
I worked my way into the folder where the py program is, but couldn't
executed. Just entering aprog.py, run aprog.py or exec aprog.py didn't work.
--
W. eWatson
(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
Web Page: <www.speckledwithstars.net/>
More information about the Python-list
mailing list