Hacked together C++ to show how to embed and extend Python 3
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

8 lines
159 B

"""Module to test C++ embedding and extending"""
import testCAPI
def helloWorld():
print("Hello C++, it's Python!")
testCAPI.helloFromC()
return