How to find out the directory that the py file is in?
Jerry
jweida at gmail.com
Tue Oct 24 21:54:31 EDT 2006
Previous message (by thread):
How to find out the directory that the py file is in?
Next message (by thread):
How to find out the directory that the py file is in?
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
import os print os.path.dirname(os.path.abspath(__file__)) -- Jerry
Previous message (by thread):
How to find out the directory that the py file is in?
Next message (by thread):
How to find out the directory that the py file is in?
Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Python-list mailing list