PyQt/其它/C和C++扩展/py转pyd/test.py

8 lines
190 B
Python
Raw Normal View History

2018-05-06 01:42:03 +08:00
import sys
sys.path.insert(0,
'./build/lib.{0}-{1}.{2}'.format(sys.platform, sys.version_info.major, sys.version_info.minor))
import pydmod
print(pydmod)
print(pydmod.sum(1, 5))