Ryan is an engineer in the Sacramento Area with a focus in Python, Ruby, and Rust. Bash/Python Exercism mentor. Coding, physics, calculus, music, woodworking. Looking for work!
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?
Sr. Software Engineer at CallRail building microservices to support 3rd party integrations. PhD student at the University of Nebraska studying bioinformatics, machine learning, and algorithms.
This is a really neat article, I didn't know it was this easy! Because I'm not familiar with the
ctypes
module, andfrom ctypes import *
makes it a little tough to see which functionality is coming fromctypes
, is it just theCDLL
class that you're using from there?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