03 2020 档案
摘要:ubuntu中,终端命令行快速打开html文件方法在terminal中,用命令快速调用浏览器打开html文件,而非通过鼠标点击的方式。 firefox浏览器 firefox prospero.html chrome浏览器 chromium-browser prospero.html 或者直接用: s
阅读全文
摘要:方法一: file = open("test.txt", 'w').close() 直接清空“test.txt”里面的内容 方法二: with open("test.txt", 'r+') as file: file.truncate(0)
阅读全文
摘要:查询地址http://www.teach.ustc.edu.cn/category/calendar 科大教务处http://www.teach.ustc.edu.cn/
阅读全文