当前位置:网站首页>Sys module
Sys module
2022-07-04 11:07:00 【It's a cinch!】
api_version—— Get current python Internal version number
argv—— Receive script parameters
copyright—— obtain python Script information
exit—— Exit the system The normal exit :exit(0) Abnormal exit :exit(1)
getdefaultencoding—— Get the default encoding ( edition 3:utf-8)
getfilesystemenconding—— Get the system code
getrecursionlimit—— obtain python Recursion limits the number of layers
setrecursionlimit—— Reset the recursion limit level ( Use with caution )
getwindowsversion—— Get window version information
version—— Get version information
getrefcount( object )—— Gets the reference count of the object , Default another reference count
python Garbage collection mechanism :
Quote count is primary , Supplemented by mark removal and generational collection
'__breakpointhook__', '__displayhook__', '__doc__', '__excepthook__', '__interactivehook__', '__loader__', '__name__', '__package__', '__spec__', '__stderr__', '__stdin__', '__stdout__', '__unraisablehook__', '_base_executable', '_clear_type_cache', '_current_frames', '_debugmallocstats', '_enablelegacywindowsfsencoding', '_framework', '_getframe', '_git', '_home', '_xoptions', 'addaudithook', 'api_version', 'argv', 'audit', 'base_exec_prefix', 'base_prefix', 'breakpointhook', 'builtin_module_names', 'byteorder', 'call_tracing', 'callstats', 'copyright', 'displayhook', 'dllhandle', 'dont_write_bytecode', 'exc_info', 'excepthook', 'exec_prefix', 'executable', 'exit', 'flags', 'float_info', 'float_repr_style', 'get_asyncgen_hooks', 'get_coroutine_origin_tracking_depth', 'getallocatedblocks', 'getcheckinterval', 'getdefaultencoding', 'getfilesystemencodeerrors', 'getfilesystemencoding', 'getprofile', 'getrecursionlimit', 'getrefcount', 'getsizeof', 'getswitchinterval', 'gettrace', 'getwindowsversion', 'hash_info', 'hexversion', 'implementation', 'int_info', 'intern', 'is_finalizing', 'maxsize', 'maxunicode', 'meta_path', 'modules', 'path', 'path_hooks', 'path_importer_cache', 'platform', 'prefix', 'ps1', 'ps2', 'pycache_prefix', 'set_asyncgen_hooks', 'set_coroutine_origin_tracking_depth', 'setcheckinterval', 'setprofile', 'setrecursionlimit', 'setswitchinterval', 'settrace', 'stderr', 'stdin', 'stdout', 'thread_info', 'unraisablehook', 'version', 'version_info', 'warnoptions', 'winver'

边栏推荐
- Design and common methods of test case documents
- re. Sub() usage
- [Galaxy Kirin V10] [server] grub default password
- [machine] [server] Taishan 200
- DDL language of MySQL database: create, modify alter, delete drop of databases and tables
- [Galaxy Kirin V10] [server] NUMA Technology
- Iterator generators and modules
- Simple understanding of seesion, cookies, tokens
- Simple understanding of generics
- Common system modules and file operations
猜你喜欢

Replace() function

Failed to configure a DataSource: ‘url‘ attribute is not specified... Bug solution
![[Galaxy Kirin V10] [server] NFS setup](/img/ed/bd7f1a1e4924a615cb143a680a2ac7.jpg)
[Galaxy Kirin V10] [server] NFS setup

Canoe: what is vtsystem

Automatic translation between Chinese and English

Deepmind proposed a Zuan AI, which specially outputs network attack language

Canoe the second simulation engineering xvehicle 3 CAPL programming (operation)

TS type gymnastics: illustrating a complex advanced type

Using SA token to solve websocket handshake authentication

F12 clear the cookies of the corresponding web address
随机推荐
JMeter common configuration components and parameterization
Application and Optimization Practice of redis in vivo push platform
Post man JSON script version conversion
Aike AI frontier promotion (2.14)
Local MySQL forget password modification method (Windows) [easy to understand]
Video analysis
Canoe - the third simulation project - bus simulation-1 overview
Personal thoughts on the development of game automation protocol testing tool
Simple understanding of generics
[Galaxy Kirin V10] [server] NFS setup
Iterator generators and modules
Performance test overview
[Galaxy Kirin V10] [server] iSCSI deployment
Heartbeat报错 attempted replay attack
Test question bank management system - database design [easy to understand]
Performance features focus & JMeter & LoadRunner advantages and disadvantages
守护进程Xinted和日志记录Syslogd
[Galaxy Kirin V10] [desktop] cannot add printer
QQ group administrators
Terms related to hacker technology