Python路径搜索

PYTHON 路径搜索

15.3 How Imports Work
The module search path:

1> The home directory of the top-level file.
2> PYTHONPATH directories (if set).
3> Standard library directories.
4> The contents of any .pth files (if present).

—From <<Learning Python, 2E.chm>> 15.3 How Imports Work

也可以使用sys.path.append()来手动添加路径

–The End–

Continue reading » · Rating: · Written on: 02-20-09 · No Comments »

免费SVN

发现一个免费的SVN,提供100M的空间,对于个人的小项目够用了。

http://code.svnspot.com/

–The End–

Continue reading » · Rating: · Written on: 02-06-09 · No Comments »