007_standard_lib_sys


#!/usr/bin/env python
# Author:liujun

#The standard library

import sys,time
print(sys.path) #The value of PATH which is a environment variable in python
print(sys.argv) #command line parammeters
print(sys.argv[0]) #the second command line parammeter



for i in range(100):
sys.stdout.write("#")
sys.stdout.flush()
time.sleep(0.1)
 
原文地址:https://www.cnblogs.com/liujun5319/p/9578370.html