It would be easier for maintainability to avoid things like
I know the examples in the documentation use this, but it’s not a good idea.
I do realize that typing ctypes.c_int, ctypes.POINTER etc rapidly gets old. My compromise is to use a short form for the module name:
Now you can write ct.c_int, ct.POINTER etc, which is a bit better.
It would be easier for maintainability to avoid things like
I know the examples in the documentation use this, but it’s not a good idea.
I do realize that typing
ctypes.c_int,ctypes.POINTERetc rapidly gets old. My compromise is to use a short form for the module name:Now you can write
ct.c_int,ct.POINTERetc, which is a bit better.