Windoz file naming
Guys, I've just run into a problem and wondered if there was an elegant resolution. My BastionBanking package contains: currency.py - pure python Currency.py - Zope derivation The idea is that using the setup.py script, you can load currency.py into your Python modules and use it outside Zope if you wish. However, under Windoz, it doesn't recognise the different file names and wont allow them to both reside in the same directory! I had intended to use this technique widely to have a single distribution stream for both pure Python and Zope-wrapped modules. TIA Alan _________________________________________________________________ Surf the net and talk on the phone with Xtra Jetstream @ http://www.xtra.co.nz/products/0,,5803,00.html !
Is currency.py - pure python ZCurrency.py - Zope derivation elegant enough? (also think that sometimes you will need third file, say, for Zope3 - your method will fail. )
"alan milligan" wrote Guys,
I've just run into a problem and wondered if there was an elegant resolution.
My BastionBanking package contains:
currency.py - pure python Currency.py - Zope derivation
The "typical" approach in Python is to have, e.g. Tkinter, and _tkinter. But if it's a zope derivation of currency, why not call it zcurrency?
participants (3)
-
alan milligan -
Anthony Baxter -
Sergey Volobuev