Path to package

Anders Eriksson ame at swipnet.se
Mon May 29 12:52:36 EDT 2000


Hello!

I'm trying to create an CGI application which will use one of my
package. In this package there are some HTML-files. If I have all
files in the same directory, both my cgi application and the package,
then the package will find the html-files. but if I separate them,
like I want to, and put the cgi-file into cgi-bin and the package into
site-packages, then the package will search for the html-file in the
cgi-bin directory.

How do I solve this?

// Anders




More information about the Python-list mailing list