cd Boost-Python-Examples/Examples/class_hello
make
python3
Python 3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import class_hello
>>> world = class_hello.World()
default constructor
>>> world.greet()
''
>>> world = class_hello.World("I am world")
constructor of struct World
>>> world.greet()
'I am world'
>>> world.set("Good")
>>> world.greet()
'Good'
>>> quit()
class_hello
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||