py包装 1.用法 import pypackage dir = 'any directory here' pypackage . package ( __file__ , dir ) 2.例子 #test.py import pypackage dir = 'test1\dir\ pack pypackage . package ( __file__ , dir ) :file_folder:test1 └ :file_folder: dir └ :file_folder: pack └