列表是最常用的Python数据类型,前段时间看书的时候,发现了enumerate() 函数非常实用,因为才知道下标可以这么容易的使用,总结一下. class enumerate(object): """ Return an enumerate object. iterable an object supporting iteration The enumerate object yields pairs containing a count (from start, whic
Tkinter图形界面设计见:https://www.cnblogs.com/pywjh/p/9527828.html#radiobutton 终止python运行函数: 采用sys.exit(0)正常终止程序 python读写文件(python3.0读写二进制文件后面一定要加b,否则会报错"write() argument must be str, not bytes",例如:ab,a+b): #读写二进制文件,例如mp3.mp4 film = requests.get(self.v