Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Using ctypes without prefixes


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 samgj   Members   -  Reputation: 398

Like
0Likes
Like

Posted 29 May 2014 - 12:42 PM

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.


MLNM-ONE: open source video game engine

Unincorporated Media's Website: my company's website


Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS