Python binding

I try to call Swift from Python which doesn't work because of name mangling.

bla.swift compiled with swiftc -emit-library to

public func bla() {

import ctypes
lib = ctypes.cdll.LoadLibrary("./")
#print(lib.$s3blaAAyyF) <- doesn't work because of the dollar sign

What is the preferred way to do this?

1 Like

Cool, I haven't seen this. Thanks.