Created
September 8, 2011 05:12
-
-
Save fearofcode/1202677 to your computer and use it in GitHub Desktop.
invoking native libraries from Python via ctypes (Windows)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from ctypes import * | |
msvcrt = cdll.msvcrt | |
message_string = "Hello world\n" | |
msvcrt.printf("Testing: %s", message_string) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment