How to call the function "cstroke" + in Python
Most people do not understand the knowledge points of this article, "how to call cAccord in Python + function", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this article "how to call cAccord + function in Python".
Python-dev needs to be installed.
The test.cpp file is as follows
Make:
Gmail +-shared-fpic test.cpp-o MyCppModule.so
After compilation, there will be a MyCppModule.so file in the directory
The test.py file is as follows
Execution
Lhb@localhost:~/maplib/clib/pyc/invokec$ python test.py
Total 20
-rwxr-xr-x 1 lhb lhb 45 2010-08-11 17:45 make
-rwxr-xr-x 1 lhb lhb 7361 2010-08-12 10:14 MyCppModule.so
-rw-r--r-- 1 lhb lhb 979 2010-08-11 17:45 test.cpp
-rw-r--r-- 1 lhb lhb 2010-08-11 17:45 test.py
0
The above is about the content of this article on "how to call the cripple censor + function in Python". I believe we all have some understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow the industry information channel.