PyQt/Test/自定义import/README.md
2019-01-01 17:04:10 +08:00

22 lines
No EOL
400 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 自定义import
需要Python3.5.2或者自行编译xxtea
简单的了解了下import的原理
# 测试过程
- 1.在src中编写一个test.py
- 2.通过build.py 利用xxtea加密src/test.py 到当前目录的test.irony文件
- 3.运行main.py 进行测试
# 截图
test.py
![test.py](ScreenShot/1.png)
test.irony
![test.irony](ScreenShot/2.png)
main.py
![main.py](ScreenShot/3.png)