Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
C++ python embedding
#1
I am looking for a good package / library to extend a C++ application with python scripting. I would need both ways calls, from python to C++ functions, objects methods and classes static functions, as well constants and enumerations. The ideal candidate would be something like squirrel-sqrat where the executable itself would export functions/classes/constants/enumerations (not an extension).
I need the app itself to load the py script and then call into it. Then the script to be able to call back into C++ exported functions, instantiate objects and access constant variables and access enumeration types.. The ideal candidate would be something like in this example, using squirrel: https://github.com/circinusX1/scrite/blo...r/main.cpp. (see Sqrat:: methods)


Thank you.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Embedding python script into html via pyscript pyscript_dude 7 1,570 Apr-16-2023, 11:17 PM
Last Post: pyscript_dude
Question Embedding a python file online Dreary35 0 1,535 Jun-10-2021, 05:05 PM
Last Post: Dreary35
  Embedding python cause crash when use boost::asio multi threading udvatt108 0 1,729 Oct-04-2020, 03:15 PM
Last Post: udvatt108
  Need help merging/embedding duckredbeard 10 3,453 Aug-13-2020, 04:48 AM
Last Post: duckredbeard
  Embedding return in a print statement Tapster 3 2,295 Oct-07-2019, 03:10 PM
Last Post: Tapster
  Calling Extended Embedding Python as shared library jibarra 0 2,233 Jul-19-2019, 05:22 PM
Last Post: jibarra
  More Python Embedding Trouble jibarra 3 2,946 Jul-11-2019, 09:25 PM
Last Post: Gribouillis
  Python Embedding jibarra 4 3,077 Jul-11-2019, 03:25 PM
Last Post: jibarra
  Embedding or adding IDE like "repl" inside Flask app sray 1 2,238 Jul-03-2019, 03:13 PM
Last Post: nilamo
  Embedding Python into a simulator siggi 0 2,202 Apr-24-2019, 07:42 PM
Last Post: siggi

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020