[mod_python] from __future__ import & psp

Aaron Roots mail.python.org at roots.id.au
Wed Oct 24 05:38:17 EDT 2007


I am trying to find out if there is any way currantly to use "from __future__ import module" with mod_python PSP

If I include the line at the top of the psp file - it returns this error:
	/*SyntaxError: from __future__ imports must occur at the beginning of the file*/

I have searched to find an answer to if it can or if there is another way to import like JSP's "<%@ page import="package"%>" that would work.
Either it wont work currantly or I do not know how to reference it correctly.



Cheers heaps
Aaron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20071024/de9dc6e7/attachment.html


More information about the Mod_python mailing list