OK - thank you both for your help.
It's time for:
perl -pi e 's/Currency/ZCurrency;g' `find . -name "*.py"`
;)
From: Anthony Baxter <[EMAIL PROTECTED]>
Reply-To: Anthony Baxter <[EMAIL PROTECTED]>
To: "alan milligan" <[EMAIL PROTECTED]>
>>> "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, an
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. )
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://mail.zope.org/mailma
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 out