使用os.path.join 要注意的问题

1 import os
2 os.path.join('/etc/','a.py')
3 # /etc/a.py
4 os.path.join('/etc''/a.py')
5 #/a.py
posted @ 2013-07-30 09:12  编缘  阅读(393)  评论(0编辑  收藏  举报