[mod_python] How to get the current directory?

GNULife gnulife at gmail.com
Thu Jun 30 08:39:04 EDT 2005


I have a test.py in d:\temp , I want to know where's test.py when I run
it. I have tried to join "os.getcwd()" into test.py , but it return
"C:\\Program Files\\Apache Group\\Apache2". How to do it?


More information about the Mod_python mailing list