![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Pthon
qq_18892629
这个作者很懒,什么都没留下…
展开
-
[Python笔记]多重剪贴板
#! python3# mcb.pyw - Saves and loads pieces of text to the clipboard.# Usage: py.exe mcb.pyw save <keyword> - Saves clipboard to keyword.# py.exe mcb.pyw <keyword> - Loads keywo...原创 2019-04-17 11:03:10 · 536 阅读 · 0 评论 -
[Python笔记]程序的调试
python程序的调试,用书中的话来说就是“非常优雅”。try,except和assert的调试方法是我第一次接触,使用起来有些不太习惯,但是看起来很好用的样子。**try,except,raise**def boxPrint(symbol, width, height): if len(symbol) != 1: raise Exception('Symbol ...原创 2019-04-17 22:26:50 · 81 阅读 · 0 评论 -
[Python笔记]Web相关
#! python3import webbrowser,sys,pyperclipif len(sys.argv)>1: address = ' '.join(sys.argv[1:])else: address = pyperclip.paste()webbrowser.open( 'https://www.baidu.com/s?ie=utf-8&...原创 2019-04-18 21:48:47 · 104 阅读 · 0 评论 -
[Python笔记]Excel相关
书中给的实例:#! python3# readCensusExcel.py - Tabulates population and number of census tracts for # each county.import openpyxl, pprintprint('Opening workbook...')wb = openpyxl.load_workbook('census...原创 2019-04-28 11:02:02 · 232 阅读 · 0 评论