摘要:
如果“__name__”是在功能函数下的时候,“__name__" == "__main__" 如果“__name__”是在主模块下的时候,“__name__" == "主函数的函数名称" 阅读全文
posted @ 2017-09-12 21:25
ystwyfe
阅读(177)
评论(0)
推荐(0)
摘要:
import sys import os base_dir = os.path.dirname(os.path.abspath(__file__)) sys.path.append(base_dir) os.path.abspath(__file__) 确认*.py的绝对路径 os.path.dirname(os.path.abspath(__file__)) 返回*.py的上... 阅读全文
posted @ 2017-09-12 21:13
ystwyfe
阅读(162)
评论(0)
推荐(0)
摘要:
pdfmerge 0.0.7 https://pypi.python.org/pypi/pdfmerge/0.0.7 pyPDF2 https://pypi.python.org/pypi/PyPDF2/1.26.0 安装 python3 -m pip install pdfmerge 使用 fro 阅读全文
posted @ 2017-09-12 00:27
ystwyfe
阅读(343)
评论(0)
推荐(0)

浙公网安备 33010602011771号