Ah, ctypes

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Mon Jun 1 18:52:35 EDT 2009


In message <slrnh27r80.l3s.nick at irishsea.home.craig-wood.com>, Nick Craig-
Wood wrote:

> As a ctypes user I found this an interesting story - thanks for
> posting it!

By the way, I hate wildcard imports. In the ctypes docs, they recommend you 
do this

    from ctypes import *

but I prefer this:

    import ctypes as ct

which explains the "ct." prefixes in my sample code, in case you were 
wondering.




More information about the Python-list mailing list