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

Gabriel Genellina gagsl-zope at yahoo.com.ar
Thu Aug 31 17:33:11 EDT 2006


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 it; you can reference it as 
container.Include.Functions.whatever(args...)


Gabriel Genellina
Softlab SRL 


	
	
		
__________________________________________________
Preguntá. Respondé. Descubrí.
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas



More information about the Zope mailing list