Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Using ctypes without prefixes

4: Adsense

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 samurliko   Members   

400
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.






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.