[Zope] External Method importing modules

Andreas Jung lists at zopyx.com
Tue Feb 13 07:56:57 EST 2007



--On 13. Februar 2007 12:53:25 +0000 Alan <alanwilter at gmail.com> wrote:

> Dear List,
>
> I have an external method and now I developed I new module in a
> separated file and then I am trying to make my external method to
> import it but I am failing here. Where should place my module file in
> order to be found by my external method?
> I tried to place it in the same folder of my external method, but no
> success.

Since the module must be importable, it must be available in some location
as defined through sys.path or $PYTHONPATH. Check the Python docs for 
additional info on that topic.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20070213/050e2638/attachment.bin


More information about the Zope mailing list