Documente Academic
Documente Profesional
Documente Cultură
sys
MODULE REFERENCE
DESCRIPTION
This module provides access to some objects used or maintained by the
interpreter and to functions that interact strongly with the interpreter.
Dynamic objects:
Static objects:
Functions:
FUNCTIONS
__breakpointhook__ = breakpointhook(...)
breakpointhook(*args, **kws)
__displayhook__ = displayhook(...)
displayhook(object) -> None
__excepthook__ = excepthook(...)
excepthook(exctype, value, traceback) -> None
breakpointhook(...)
breakpointhook(*args, **kws)
call_tracing(...)
call_tracing(func, args) -> object
callstats(...)
callstats() -> tuple of integers
exc_info(...)
exc_info() -> (type, value, traceback)
excepthook(...)
excepthook(exctype, value, traceback) -> None
exit(...)
exit([status])
get_asyncgen_hooks(...)
get_asyncgen_hooks()
get_coroutine_origin_tracking_depth()
Check status of origin tracking for coroutine objects in this thread.
get_coroutine_wrapper(...)
get_coroutine_wrapper()
getallocatedblocks(...)
getallocatedblocks() -> integer
getcheckinterval(...)
getcheckinterval() -> current check interval; see setcheckinterval().
getdefaultencoding(...)
getdefaultencoding() -> string
getfilesystemencodeerrors(...)
getfilesystemencodeerrors() -> string
getfilesystemencoding(...)
getfilesystemencoding() -> string
getprofile(...)
getprofile()
getrecursionlimit(...)
getrecursionlimit()
Return the current value of the recursion limit, the maximum depth
of the Python interpreter stack. This limit prevents infinite
recursion from causing an overflow of the C stack and crashing Python.
getrefcount(...)
getrefcount(object) -> integer
getsizeof(...)
getsizeof(object, default) -> int
getswitchinterval(...)
getswitchinterval() -> current thread switch interval; see
setswitchinterval().
gettrace(...)
gettrace()
getwindowsversion(...)
getwindowsversion()
intern(...)
intern(string) -> string
``Intern'' the given string. This enters the string in the (global)
table of interned strings whose purpose is to speed up dictionary lookups.
Return the string itself or the previously interned string object with the
same value.
is_finalizing(...)
is_finalizing()
Return True if Python is exiting.
set_asyncgen_hooks(...)
set_asyncgen_hooks(*, firstiter=None, finalizer=None)
set_coroutine_origin_tracking_depth(depth)
Enable or disable origin tracking for coroutine objects in this thread.
set_coroutine_wrapper(...)
set_coroutine_wrapper(wrapper)
setcheckinterval(...)
setcheckinterval(n)
setprofile(...)
setprofile(function)
setrecursionlimit(...)
setrecursionlimit(n)
Set the ideal thread switching delay inside the Python interpreter
The actual frequency of switching threads can be lower if the
interpreter executes long sequences of uninterruptible code
(this is implementation-specific and workload-dependent).
settrace(...)
settrace(function)
DATA
__stderr__ = None
__stdin__ = None
__stdout__ = None
api_version = 1013
argv = ['']
base_exec_prefix = r'C:\Users\Sayani\AppData\Local\Programs\Python\Pyt...
base_prefix = r'C:\Users\Sayani\AppData\Local\Programs\Python\Python37...
builtin_module_names = ('_abc', '_ast', '_bisect', '_blake2', '_codecs...
byteorder = 'little'
copyright = 'Copyright (c) 2001-2019 Python Software Foundati...ematis...
dllhandle = 1936523264
dont_write_bytecode = False
exec_prefix = r'C:\Users\Sayani\AppData\Local\Programs\Python\Python37...
executable = r'C:\Users\Sayani\AppData\Local\Programs\Python\Python37-...
flags = sys.flags(debug=0, inspect=0, interactive=0, opt...ation=1, is...
float_info = sys.float_info(max=1.7976931348623157e+308, max_...epsilo...
float_repr_style = 'short'
hash_info = sys.hash_info(width=32, modulus=2147483647, inf=...iphash2...
hexversion = 50791408
implementation = namespace(cache_tag='cpython-37', hexversion=507...in...
int_info = sys.int_info(bits_per_digit=15, sizeof_digit=2)
last_value = NameError("name 'matplotlib' is not defined")
maxsize = 2147483647
maxunicode = 1114111
meta_path = [<class '_frozen_importlib.BuiltinImporter'>, <class '_fro...
modules = {'__main__': <module '__main__' (built-in)>, '_abc': <module...
path = ['', r'C:\Users\Sayani\AppData\Local\Programs\Python\Python37-3...
path_hooks = [<class 'zipimport.zipimporter'>, <function FileFinder.pa...
path_importer_cache = {r'C:\Users\Sayani\AppData\Local\Programs\Python...
platform = 'win32'
prefix = r'C:\Users\Sayani\AppData\Local\Programs\Python\Python37-32'
stderr = <idlelib.run.PseudoOutputFile object>
stdin = <idlelib.run.PseudoInputFile object>
stdout = <idlelib.run.PseudoOutputFile object>
thread_info = sys.thread_info(name='nt', lock=None, version=None)
version = '3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 21:26:53) [MSC v.191...
version_info = sys.version_info(major=3, minor=7, micro=3, releaseleve...
warnoptions = []
winver = '3.7-32'