Reputation: 5828
Is there a portable way to load the C standard library (libc.so
, libc.dylib
) in Python ctypes? Should I just use if
/elif
statements about the result of platform.system()
function?
Upvotes: 10
Views: 771
Reputation: 613053
The ctypes
library doesn't offer anything of that nature so an if
statement is just what you need.
Upvotes: 1