Message150822
| Author |
eric.snow |
| Recipients |
docs@python, eric.snow, sandro.tosi |
| Date |
2012年01月07日.21:34:38 |
| SpamBayes Score |
1.3560979e-05 |
| Marked as misclassified |
No |
| Message-id |
<1325972079.46.0.745351783397.issue13728@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
see http://docs.python.org/library/sys.html#sys.path
"As initialized upon program startup, the first item of this list, path[0], is the directory containing the script that was used to invoke the Python interpreter. If the script directory is not available (e.g. if the interpreter is invoked interactively or if the script is read from standard input), path[0] is the empty string, which directs Python to search modules in the current directory first."
So the empty string here is the current working directory (at the time the script is run?). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年01月07日 21:34:39 | eric.snow | set | recipients:
+ eric.snow, sandro.tosi, docs@python |
| 2012年01月07日 21:34:39 | eric.snow | set | messageid: <1325972079.46.0.745351783397.issue13728@psf.upfronthosting.co.za> |
| 2012年01月07日 21:34:38 | eric.snow | link | issue13728 messages |
| 2012年01月07日 21:34:38 | eric.snow | create |
|