Separation of Code in CGI App

Rob Cowie cowie.rob at gmail.com
Fri Jul 22 13:55:19 EDT 2005


Thanks,

I have run through the tutorial - very good. One day, I'd like to try
and organise a similar tutorial involving CGI programming. There are
several very basic examples, but they leave plenty of unanswered
questions such as how to best structure a cgi app, apache permissions,
etc

So to be clear, if a .py module is in the same directory as my python
cgi script, I can import it thus 'import XXX.py'?




More information about the Python-list mailing list