python-小记

1.取当前脚本所在路径

os.path.realpath(__file__).lstrip(sys.argv[0])

posted @ 2012-05-11 16:22  RINA  阅读(128)  评论(0编辑  收藏  举报