forked from emilevs/label_printer
10 lines
160 B
Python
10 lines
160 B
Python
|
import ctypes
|
||
|
|
||
|
# Load the Go shared library
|
||
|
mylib = ctypes.CDLL('./library_bridge.so')
|
||
|
|
||
|
# Call the Add function from Go
|
||
|
result = mylib.Add(3, 5)
|
||
|
print(result)
|
||
|
|