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 ? Calcul scientifique
avec Python
Voir le programme détaillé
Python 3.13.2

Contenu du module « sys »

Liste des fonctions du module sys

Signature de la fonction Description
activate_stack_trampoline(backend) Activate stack profiler trampoline *backend*. [extrait de activate_stack_trampoline.__doc__]
addaudithook(hook) Adds a new audit hook callback. [extrait de addaudithook.__doc__]
audit(event, /, *args) Passes the event to any audit hooks that are attached. [extrait de audit.__doc__]
breakpointhook(*args, **kwargs) This hook function is called by built-in breakpoint(). [extrait de breakpointhook.__doc__]
call_tracing(func, args) Call func(*args), while tracing is enabled. [extrait de call_tracing.__doc__]
deactivate_stack_trampoline() Deactivate the current stack profiler trampoline backend. [extrait de deactivate_stack_trampoline.__doc__]
displayhook(object) Print an object to sys.stdout and also save it in builtins._ [extrait de displayhook.__doc__]
exc_info() Return current exception information: (type, value, traceback). [extrait de exc_info.__doc__]
excepthook(exctype, value, traceback) Handle an exception by displaying it with a traceback on sys.stderr. [extrait de excepthook.__doc__]
exception() Return the current exception. [extrait de exception.__doc__]
exit(status=None) Exit the interpreter by raising SystemExit(status). [extrait de exit.__doc__]
get_asyncgen_hooks() Return the installed asynchronous generators hooks. [extrait de get_asyncgen_hooks.__doc__]
get_coroutine_origin_tracking_depth() Check status of origin tracking for coroutine objects in this thread. [extrait de get_coroutine_origin_tracking_depth.__doc__]
get_int_max_str_digits() Return the maximum string digits limit for non-binary int<->str conversions. [extrait de get_int_max_str_digits.__doc__]
getallocatedblocks() Return the number of memory blocks currently allocated. [extrait de getallocatedblocks.__doc__]
getdefaultencoding() Return the current default encoding used by the Unicode implementation. [extrait de getdefaultencoding.__doc__]
getfilesystemencodeerrors() Return the error mode used Unicode to OS filename conversion. [extrait de getfilesystemencodeerrors.__doc__]
getfilesystemencoding() Return the encoding used to convert Unicode filenames to OS filenames. [extrait de getfilesystemencoding.__doc__]
getprofile() Return the profiling function set with sys.setprofile. [extrait de getprofile.__doc__]
getrecursionlimit() Return the current value of the recursion limit. [extrait de getrecursionlimit.__doc__]
getrefcount(object) Return the reference count of object. [extrait de getrefcount.__doc__]
getsizeof getsizeof(object [, default]) -> int [extrait de getsizeof.__doc__]
getswitchinterval() Return the current thread switch interval; see sys.setswitchinterval(). [extrait de getswitchinterval.__doc__]
gettrace() Return the global debug tracing function set with sys.settrace. [extrait de gettrace.__doc__]
getunicodeinternedsize(*, _only_immortal=False) Return the number of elements of the unicode interned dictionary [extrait de getunicodeinternedsize.__doc__]
getwindowsversion() Return info about the running version of Windows as a named tuple. [extrait de getwindowsversion.__doc__]
intern(string) ``Intern'' the given string. [extrait de intern.__doc__]
is_finalizing() Return True if Python is exiting. [extrait de is_finalizing.__doc__]
is_stack_trampoline_active() Return *True* if a stack profiler trampoline is active. [extrait de is_stack_trampoline_active.__doc__]
set_asyncgen_hooks set_asyncgen_hooks([firstiter] [, finalizer]) [extrait de set_asyncgen_hooks.__doc__]
set_coroutine_origin_tracking_depth(depth) Enable or disable origin tracking for coroutine objects in this thread. [extrait de set_coroutine_origin_tracking_depth.__doc__]
set_int_max_str_digits(maxdigits) Set the maximum string digits limit for non-binary int<->str conversions. [extrait de set_int_max_str_digits.__doc__]
setprofile(function) Set the profiling function. [extrait de setprofile.__doc__]
setrecursionlimit(limit) Set the maximum depth of the Python interpreter stack to n. [extrait de setrecursionlimit.__doc__]
setswitchinterval(interval) Set the ideal thread switching delay inside the Python interpreter. [extrait de setswitchinterval.__doc__]
settrace(function) Set the global debug tracing function. [extrait de settrace.__doc__]
unraisablehook(unraisable) Handle an unraisable exception. [extrait de unraisablehook.__doc__]

Liste des variables globales du module sys

Nom de la variable globale Valeur
api_version 1013
argv ['GenerateDoc.py']
base_exec_prefix C:\Program Files\Python313
base_prefix C:\Program Files\Python313
builtin_module_names ('_abc', '_ast', '_bisect', '_blake2', '_codecs', '_codecs_cn', '_codecs_hk', '_codecs_iso2022', '_codecs_jp', '_codecs_kr', '_codecs_tw', '_collections', '_contextvars', '_csv', '_datetime', '_functools', '_heapq', '_imp', '_interpchannels', '_interpqueues', '_interpreters', '_io', '_json', '_locale', '_lsprof', '_md5', '_multibytecodec', '_opcode', '_operator', '_pickle', '_random', '_sha1', '_sha2', '_sha3', '_signal', '_sre', '_stat', '_statistics', '_string', '_struct', '_symtable', '_sysconfig', '_thread', '_tokenize', '_tracemalloc', '_typing', '_warnings', '_weakref', '_winapi', 'array', 'atexit', 'binascii', 'builtins', 'cmath', 'errno', 'faulthandler', 'gc', 'itertools', 'marshal', 'math', 'mmap', 'msvcrt', 'nt', 'sys', 'time', 'winreg', 'xxsubtype', 'zlib')
byteorder little
copyright Copyright (c) 2001-2024 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved.
dllhandle 140728161337344
dont_write_bytecode False
exec_prefix C:\Users\domin\Desktop\Developpements\EclipseWorkspace\KooR\_ApiPython\venv
executable C:\Users\domin\Desktop\Developpements\EclipseWorkspace\KooR\_ApiPython\venv\Scripts\python.exe
flags sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=0, verbose=0, bytes_warning=0, quiet=0, hash_randomization=1, isolated=0, dev_mode=False, utf8_mode=0, warn_default_encoding=0, safe_path=False, int_max_str_digits=4300)
float_info sys.float_info(max=1.7976931348623157e+308, max_exp=1024, max_10_exp=308, min=2.2250738585072014e-308, min_exp=-1021, min_10_exp=-307, dig=15, mant_dig=53, epsilon=2.220446049250313e-16, radix=2, rounds=1)
float_repr_style short
hash_info sys.hash_info(width=64, modulus=2305843009213693951, inf=314159, nan=0, imag=1000003, algorithm='siphash13', hash_bits=64, seed_bits=128, cutoff=0)
hexversion 51184368
implementation namespace(name='cpython', cache_tag='cpython-313', version=sys.version_info(major=3, minor=13, micro=2, releaselevel='final', serial=0), hexversion=51184368)
int_info sys.int_info(bits_per_digit=30, sizeof_digit=4, default_max_str_digits=4300, str_digits_check_threshold=640)
maxsize 9223372036854775807
maxunicode 1114111
meta_path [<class '_frozen_importlib.BuiltinImporter'>, <class '_frozen_importlib.FrozenImporter'>, <class '_frozen_importlib_external.PathFinder'>, <six._SixMetaPathImporter object at 0x0000020D9AB30050>]
modules Contenu de type <class 'dict'>
orig_argv ['python', 'GenerateDoc.py']
path ['C:\\Users\\domin\\Desktop\\Developpements\\EclipseWorkspace\\KooR\\_ApiPython', 'C:\\Program Files\\Python313\\python313.zip', 'C:\\Program Files\\Python313\\DLLs', 'C:\\Program Files\\Python313\\Lib', 'C:\\Program Files\\Python313', 'C:\\Users\\domin\\Desktop\\Developpements\\EclipseWorkspace\\KooR\\_ApiPython\\venv', 'C:\\Users\\domin\\Desktop\\Developpements\\EclipseWorkspace\\KooR\\_ApiPython\\venv\\Lib\\site-packages']
path_hooks [<class 'zipimport.zipimporter'>, <function FileFinder.path_hook.<locals>.path_hook_for_FileFinder at 0x0000020DB70509A0>]
path_importer_cache Contenu de type <class 'dict'>
platform win32
platlibdir DLLs
prefix C:\Users\domin\Desktop\Developpements\EclipseWorkspace\KooR\_ApiPython\venv
pycache_prefix None
pyside6_option_python_enum True
stderr <_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
stdin <_io.TextIOWrapper name='<stdin>' mode='r' encoding='utf-8'>
stdlib_module_names Contenu de type <class 'frozenset'>
stdout <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
thread_info sys.thread_info(name='nt', lock=None, version=None)
version 3.13.2 (tags/v3.13.2:4f8bb39, Feb 4 2025, 15:23:48) [MSC v.1942 64 bit (AMD64)]
version_info sys.version_info(major=3, minor=13, micro=2, releaselevel='final', serial=0)
warnoptions []
winver 3.13


Vous êtes un professionnel et vous avez besoin d'une formation ? Calcul scientifique
avec Python
Voir le programme détaillé