This is not strictly a wxPython error, but apparently a filename scoping
error when I try to call a method imported from a different file. An
executable module with the external module and three sample data files are
attached in a tarball.
When I run the file, makepairs.py, from the command line with the three
sample input files (*.in) and the filenames obtained with sys.argv[], it
works just as intended (and the name == __main__ code has been removed from
this copy). However, it's not picking up the input and output filenames from
the ScopingPage class. Changing the assignments yields an error of unknown
filename, 'infile'.
Running the application through winpdb I see what appears to be another
problem in the method, OnMakePair(). According to the debugger, when I step
through the code I end up stepping over makepairs, not entering it. Despite
my reading of the python docs I have here the answers have not become obvious
to me.
Thanks,
Rich
filename.tgz (2.42 KB)
···
--
Richard B. Shepard, Ph.D. | Author of "Quantifying Environmental
Applied Ecosystem Services, Inc. (TM) | Impact Assessments Using Fuzzy Logic"
<http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863