其他分享
首页 > 其他分享> > sys模块

sys模块

作者:互联网

import sys
# sys.modules
# sys.path
# sys.argv

# print(sys.modules)

import requests
print(sys.modules)

# import time
# print(time.time())
# print(sys.modules['time'].time())
# print(time.time()==sys.modules['time'].time())

# print(sys.path)
#
#
# import requests
# content = requests.get('http://www.baidu.com')
# print(content.content)
# print(sys.argv)

# if sys.argv[1]=='wind' and sys.argv[2]=='666':
# print('登录成功,可以执行接下来的脚本')
# else:
# print('登录失败')

标签:modules,argv,sys,模块,time,print,import
来源: https://www.cnblogs.com/aiyehui/p/16394182.html