From: <bra...@om...> - 2005-04-05 20:09:15
|
Kevin Altis wrote on 04/05/2005 02:18:38 PM: > Create a PYTHONPATH environment variable and set it to the special > directory which holds the PythonCard directory. Python will search in > the PYTHONPATH before the standard lib dirs. Your examples and others that turned up on a Google search use "/Users/username/python" as the PYTHONPATH. That seems to imply that PythonCard should be dumped directly into said directory, so that import PythonCard statements will find it. However, if I download using CVS into this directory, it dumps a lot of other stuff into the same place, including the folders CVS and CVSROOT. Will this create CVS problems if I start downloading other Python packages into this directory using CVS? Also, I'm curious how to start making use of the new platform-specific resource file feature. Do these just automagically work under PythonCard .82 as long as the resource files have the special naming convention examples from your original posting? > ['minimal.win.en_US.rsrc.py', > 'minimal.win.en.rsrc.py', 'minimal.en_US.rsrc.py', > 'minimal.en.rsrc.py', 'minimal.win.rsrc.py', 'minimal.rsrc.py'] |