Message169216
python_dir = os.path.dirname(os.path.realpath(sys.executable))
wrong_cwd = os.path.join(python_dir, 'Doc')
Actually, is there a better directory to be using for this? I'd like a directory that is guaranteed to exist that is in the same directory as sys.executable -- so that I can construct a simple relative path from that directory to sys.executable. |
|
| Date |
User |
Action |
Args |
| 2012-08-27 20:37:09 | chris.jerdonek | set | recipients:
+ chris.jerdonek, cvrebert, asvetlov, docs@python |
| 2012-08-27 20:37:09 | chris.jerdonek | set | messageid: <[email protected]> |
| 2012-08-27 20:37:09 | chris.jerdonek | link | issue15533 messages |
| 2012-08-27 20:37:09 | chris.jerdonek | create | |
|