摘要:        
time模块 time.time()函数返回自那一刻以来的秒数 >>> import time >>> time.time() 1651629220.041479 可以用于一段代码的运行时间计算 1 #!/usr/bin/env python 2 3 import time 4 def calcPr    阅读全文
        
            posted @ 2022-05-04 11:04
helontian
阅读(149)
评论(0)
推荐(0)
        
            
        
        
摘要:        
利用webbrowser模块 webbrowser模块的open()函数可以启动一个新浏览器 >>> import webbrowser >>> webbrowser.open('http://www.baidu.com/') True 用requests模块从Web下载文件 用requests.g    阅读全文
        
            posted @ 2022-05-04 08:50
helontian
阅读(124)
评论(0)
推荐(0)
        
                    
                
        
浙公网安备 33010602011771号