当前位置:网站首页>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'
边栏推荐
- Canoe - the third simulation project - bus simulation - 2 function introduction, network topology
- TS type gymnastics: illustrating a complex advanced type
- Video analysis
- [Galaxy Kirin V10] [server] grub default password
- [test theory] test the dimension of professional ability
- Capl: timer event
- Daemon xinted and logging syslogd
- software test
- XMIND installation
- Function introduction of canbedded component
猜你喜欢
[Galaxy Kirin V10] [server] soft RAID configuration
[Galaxy Kirin V10] [server] KVM create Bridge
Oracle11g | getting started with database. It's enough to read this 10000 word analysis
QQ group collection
Postman interface test
[Galaxy Kirin V10] [server] failed to start the network
TS type gymnastics: illustrating a complex advanced type
Canoe - the second simulation engineering - xvehicle - 2 panel design (operation)
DNS hijacking
Simple understanding of seesion, cookies, tokens
随机推荐
Usage of with as
VI text editor and user rights management, group management and time management
SSH原理和公钥认证
Design and common methods of test case documents
Write a thread pool by hand, and take you to learn the implementation principle of ThreadPoolExecutor thread pool
Hidden C2 tunnel -- use of icmpsh of ICMP
Canoe - the third simulation project - bus simulation - 3-1 project implementation
Day7 list and dictionary jobs
iptables导致Heartbeat脑裂
三立期货安全么?期货开户怎么开?目前期货手续费怎么降低?
Simple understanding of string
Summary of automated testing framework
Automatic translation between Chinese and English
Performance test process
LVS+Keepalived实现四层负载及高可用
MBG combat zero basis
DDL language of MySQL database: create, modify alter, delete drop of databases and tables
[Galaxy Kirin V10] [server] NUMA Technology
The most ideal automated testing model, how to achieve layering of automated testing
Dictionaries and collections