티스토리 뷰
GitHub
[Hybrid1 Log5] From Python Call C/C++ Function : Parse int, float, str
Code Nara 2018. 7. 30. 23:33CPython only: add Py_LIMITED_API; to the beginning of the string (including the semicolon). This definition restricts some of the functions you can call from Python and makes the code more portable between different versions of Python. If you're working with PyBind11, don't add this definition, otherwise you'll see build errors.
Add the Python libs folder containing .lib files
Working with C++ requires that you use a 32-bit Python interpreter (Python 3.6 or above recommended).
Python1 Project : Add Reference
< 참고 >
Extending and Embedding the Python Interpreter
Creating a C++ extension for Python
Python - Extension Programming with C
'GitHub' 카테고리의 다른 글
| [Exin1] Excel Interop Exercise - C# Python (0) | 2019.04.19 |
|---|---|
| [Hybrid1 Log6 & Log7] From C/C++ Call Python : Function, Class (0) | 2018.08.01 |
| [Hybrid1 Log4] From C/C++ Call Python : PyRun_SimpleString PyRun_SimpleFile (0) | 2018.07.29 |
| [PyQt1 Log1] Simple PyQt Sample (0) | 2018.07.25 |
| [PyQt1] PyQt Coding Exercise : Create Repository (0) | 2018.07.25 |