[Zope] Re: How can I import python script into another python script?

2006-09-01 Thread Duncan Booth
Gabriel Genellina wrote: At Thursday 31/8/2006 18:11, Ferhat Ayaz wrote: I have a Script (Python) called 'functions'. I want to import this script into another Script (Python). import Include.Functions.requests says import of Include.Functions.requests is unauthorized You don't import

Re: [Zope] Re: How can I import python script into another python script?

2006-09-01 Thread Ferhat Ayaz
Thanks, it's just a little function (3-5 lines) and uses the REQUEST object. It will lookup for request parameters, if not found, a default value will be returned. But your suggestion can make the code more readable. Greets, Ferhat --- Duncan Booth [EMAIL PROTECTED] wrote: Gabriel Genellina