Get the App
SLTechnology News&Howtos  ›  Development  › 

How to call the function "cstroke" + in Python

Shulou Source: shulou.com Published: 2022-05-31 22:21:42 10月04日 Update

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.

Tags: Content functions documents articles knowledge articles values most of them that is more steps directories knowledge points industry information information channels channels help compilation Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Microsoft MariaDB Xiaomi macOS