sys python interpreter to do interactive
Others
2019-08-24 01:27:46
views: null
sys python interpreter to do interactive
import sys
Order print (sys.path) # lookup module ***
print (sys.argv) # ** can only be executed in a terminal
print (sys.modules) # View loaded into memory modules
mac - linux ls View
win dir
print (sys.version) # View the current version of the interpreter
Origin www.cnblogs.com/python25/p/11402588.html