import ctypes
# unter Windows:
# libc = ctypes.CDLL("MSVCRT")
# unter Linux:
libc = ctypes.CDLL("libc.so.6")
libc.printf(b"Hallo Welt\n")
#libc.printf("Hallo Welt\n") Python2
x = libc.rand();
print(x)
x = libc.putchar(48);
Muss groß geschrieben werden und ohne .dll