Problem with paths on Win 9x

John Roth johnroth at ameritech.net
Mon Nov 25 10:45:55 EST 2002


I'm trying to invoke a package, and I'm not getting very far. Nothing I
do
works.

Here's the printout from the command line that shows the problem:

C:\Python22\MyStuff\AstroPy3>civact

C:\Python22\MyStuff\AstroPy3>python fit\FileRunner.py CivilDateAT.htm
CivATOut.htm
C:\PYTHON22\PYTHON.EXE: can't open file 'fit\FileRunner.py'

C:\Python22\MyStuff\AstroPy3>python
Python 2.2.2 (#37, Oct 14 2002, 17:02:34) [MSC 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> print sys.path
['', 'C:\\PYTHON22\\lib\\site-packages\\win32',
'C:\\PYTHON22\\lib\\site-package
s\\win32\\lib', 'C:\\PYTHON22\\lib\\site-packages',
'C:\\PYTHON22\\lib\\site-pac
kages\\Pythonwin', 'C:\\PYTHON22\\DLLs', 'C:\\PYTHON22\\lib',
'C:\\PYTHON22\\lib
\\lib-tk', 'C:\\PYTHON22', 'C:\\PYTHON22\\MyStuff\\AstroPy3',
'C:\\PYTHON22\\MyS
tuff\\TestTools', 'C:\\PYTHON22\\Lib\\site-packages\\fit',
'C:\\PYTHON22\\AddedS
tuff\\pycover']
>>>

The path to FileRunner.py is:

c:\Python22\Lib\site-packages\fit\fit\FileRunner.py

The OS is win98se.

The files referenced by the parameters are in the current directory, but
it
isn't getting that far.

John Roth





More information about the Python-list mailing list