Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? Programmation Python
Les compléments
Voir le programme détaillé
Python 3.13.2

Contenu du module « ctypes »

Liste des classes du module ctypes

Nom de la classe Description
Array Abstract base class for arrays. [extrait de Array.__doc__]
BigEndianStructure Structure with big endian byte order [extrait de BigEndianStructure.__doc__]
BigEndianUnion Union with big endian byte order [extrait de BigEndianUnion.__doc__]
c_bool
c_byte
c_char
c_char_p
c_double
c_float
c_long
c_longlong
c_short
c_ubyte
c_ulong
c_ulonglong
c_ushort
c_void_p
c_wchar
c_wchar_p
CDLL An instance of this class represents a loaded dll/shared [extrait de CDLL.__doc__]
HRESULT
LibraryLoader
OleDLL This class represents a dll exporting functions using the [extrait de OleDLL.__doc__]
py_object
PyDLL This class represents the Python library itself. It allows [extrait de PyDLL.__doc__]
Structure Structure base class [extrait de Structure.__doc__]
Union Union base class [extrait de Union.__doc__]
WinDLL This class represents a dll exporting functions using the [extrait de WinDLL.__doc__]

Liste des exceptions du module ctypes

Nom de la classe d'exception Description
ArgumentError

Liste des fonctions du module ctypes

Signature de la fonction Description
addressof(object) addressof(C instance) -> integer [extrait de addressof.__doc__]
alignment(object) alignment(C type) -> integer [extrait de alignment.__doc__]
ARRAY(typ, len)
byref byref(C instance[, offset=0]) -> byref-object [extrait de byref.__doc__]
cast(obj, typ)
CFUNCTYPE(restype, *argtypes, **kw) CFUNCTYPE(restype, *argtypes, [extrait de CFUNCTYPE.__doc__]
create_string_buffer(init, size=None) create_string_buffer(aBytes) -> character array [extrait de create_string_buffer.__doc__]
create_unicode_buffer(init, size=None) create_unicode_buffer(aString) -> character array [extrait de create_unicode_buffer.__doc__]
DllCanUnloadNow()
DllGetClassObject(rclsid, riid, ppv)
FormatError FormatError([integer]) -> string [extrait de FormatError.__doc__]
get_errno()
get_last_error()
GetLastError(*args, **kwargs)
memmove(*args, **kwargs)
memset(*args, **kwargs)
POINTER(type) Create and return a new ctypes pointer type. [extrait de POINTER.__doc__]
pointer(obj) Create a new pointer instance, pointing to 'obj'. [extrait de pointer.__doc__]
PYFUNCTYPE(restype, *argtypes)
resize Resize the memory buffer of a ctypes instance [extrait de resize.__doc__]
set_errno
set_last_error
SetPointerType(pointer, cls)
sizeof(object) sizeof(C type) -> integer [extrait de sizeof.__doc__]
string_at(ptr, size=-1) string_at(ptr[, size]) -> string [extrait de string_at.__doc__]
WinError(code=None, descr=None)
WINFUNCTYPE(restype, *argtypes, **kw)
wstring_at(ptr, size=-1) wstring_at(ptr[, size]) -> string [extrait de wstring_at.__doc__]

Liste des variables globales du module ctypes

Nom de la variable globale Valeur
cdll <ctypes.LibraryLoader object at 0x0000020DB9577CB0>
DEFAULT_MODE 0
oledll <ctypes.LibraryLoader object at 0x0000020DB9ED1E00>
pydll <ctypes.LibraryLoader object at 0x0000020DB9E63250>
pythonapi <PyDLL 'python dll', handle 7ffdd4110000 at 0x20db9f382f0>
RTLD_GLOBAL 0
RTLD_LOCAL 0
SIZEOF_TIME_T 8
windll <ctypes.LibraryLoader object at 0x0000020DB9E63390>

Liste des alias du module ctypes

Nom de l'alias Définition ciblée
LittleEndianStructure Structure
LittleEndianUnion Union
c_buffer create_string_buffer
c_int c_long
c_int16 c_short
c_int32 c_long
c_int64 c_longlong
c_int8 c_byte
c_longdouble c_double
c_size_t c_ulonglong
c_ssize_t c_longlong
c_time_t c_longlong
c_uint c_ulong
c_uint16 c_ushort
c_uint32 c_ulong
c_uint64 c_ulonglong
c_uint8 c_ubyte
c_voidp c_void_p


Vous êtes un professionnel et vous avez besoin d'une formation ? Machine Learning
avec Scikit-Learn
Voir le programme détaillé