Sign in to follow this  
samgj

Using ctypes without prefixes

Recommended Posts

If you import a module in Python like this:

from module import *

You don't need to prefix functions, classes, and etc. from that class with the module's name. Is there a way to use ctypes so you don't need to prefix objects from the C library you imported with the name of the library.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this