Python. Asyncio. Asynchronous file reading and writing
📁 Help, asyncio
Python. Asyncio. Asynchronous file reading and writing
Here is a very good example of how to do this github.com/gil9red/SimplePyScripts/tree/master/using_custom_dll
Here is an example for UNIX, based on the above
test.py
from ctypes import *libc = CDLL("libmath.so")print(libc.add(1, 2))print(libc.sub(1, 2))math.c
int add(int a, int b){ return a + b;}int sub(int a, int b){ return a - b;} Log in to leave an answer