20041025 test build uploaded

win98, Py 2.3.4, wxPy 2.5.3.0p.20041025

It seems, wxversion.select() is appending to sys.path twice the directory path
of the module containing the wxversion.select() statement. The sys.path is ok,
without a select statement.

Jean-Michel Fauth, Switzerland

Jean-Michel Fauth wrote:

win98, Py 2.3.4, wxPy 2.5.3.0p.20041025

It seems, wxversion.select() is appending to sys.path twice the directory path of the module containing the wxversion.select() statement. The sys.path is ok, without a select statement.

The directory of the script being run as __main__ is automatically on the sys.path. Is that what you are seeing? If you think something is wrong please do the following and send the results:

import sys, pprint
print "Before:"
pprint.pprint(sys.path)
print "After:"
import wxversion
wxversion.select("2.5")
pprint.pprint(sys.path)

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!