Message130081
As for use cases, I have used it quite commonly in test scripts in order to find out the base directory of the source tree (and/or other resources such as data files).
e.g.:
basepath = os.path.dirname(os.path.dirname(os.path.dirname(__file__))) |
|
Date |
User |
Action |
Args |
2011-03-04 22:04:12 | pitrou | set | recipients:
+ pitrou, terry.reedy, r.david.murray, blokeley |
2011-03-04 22:04:12 | pitrou | set | messageid: <1299276252.65.0.329449747741.issue11344@psf.upfronthosting.co.za> |
2011-03-04 22:04:11 | pitrou | link | issue11344 messages |
2011-03-04 22:04:11 | pitrou | create | |
|