Thanks for the Answer Dennis. I got it finally working as an external method. Am Mon, 2003-07-14 um 14.49 schrieb Dennis Allison:
On 14 Jul 2003, Patrick W. Fraley wrote:
I am having a little problem importing a python package in a script (I know it should be a product, but this is just a quick hack I need to get running by this afternoon).
How can I get around the security checks when trying to import a python package in a python script? I found some references to creating a dummy package, but no reference on how to exactly do this or what is necessary.
Use an External Method or change the security checks in the Script Python product. For the latter, see the README in the product's code for a mini How-To. Both approaches require that youhave acces to the Zope code. --
*************************************** COMsulting Gerhard Faehling GmbH Patrick W. Fraley Oeverdieker Weg 6 23669 Timmendorfer Strand Tel: 04503 / 88 12 45 Fax: 04503 / 88 10 18 E-Mail: pf@comsulting.de Internet: www.comsulting.de ***************************************