sys.path.append(os.path.dirname(os.path.dirname(__name__))) #上層路徑的上層路徑 import pefile
感謝python程序員同事python