On May 25, 3:09 am, pythoncuri...@gmail.com wrote: > On May 24, 3:58 pm, John Machin <sjmac...@lexicon.net> wrote: > > > > > What problems? Like avoiding having to recompile your .py files makes > > your app run too fast? > > There are real problems with this. I'm having similar problems when > switching > between Solaris and Windows. > The code is in clearcase, which uses some sort of network file > system. > In our case, that means that I'll be accessing the same directories > from both > platforms, so .pyc-files from one platform will be visible when I run > the > code on the other platform.
"switching" scarcely seems to be the right description. You appear to be running the same code from one repository simultaneously available to two different platforms. Try this: Instead of running your code straight from your repository, set up a run-time "launch pad" in an appropriate place for each platform. When there is a new release of your app, install it in each launchpad. > > The .pyc-file will contain a string pointing to the file is was built > from. > The path to that file will be different under different platforms, so > when the > string is used, there will be error printouts. > At least I think that's the problem, the error printouts contains > paths that > are only valid on the other platform. > I don't have access to those computers atm, so I can't show the exact > message. > > The only solution I've seen is to make sure to clean up the .pyc files > each > time I switch platform. I'm a bit lost here ... your clearcase repository uses a mysterious "some sort of network file system" to which you have access permissions which allow you to delete individual files?? -- http://mail.python.org/mailman/listinfo/python-list