label_printer/test.py
2024-09-12 20:44:00 +02:00

9 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)