label_printer/test.py

10 lines
160 B
Python
Raw Normal View History

2024-09-12 18:44:00 +00:00
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)