DEV Community

Discussion on: How to Use C Functions in Python

Collapse
 
rpalo profile image
Ryan Palo

This is a really neat article, I didn't know it was this easy! Because I'm not familiar with the ctypes module, and from ctypes import * makes it a little tough to see which functionality is coming from ctypes, is it just the CDLL class that you're using from there?

Collapse
 
erikwhiting88 profile image
Erik

Yes! and thank you for pointing out the lack of clarity. the CDLL is the only thing in the Python script coming from the ctypes module