摘要: 一、元组: l = (1,2,3)#它不能改变 元组类型:tuple l = ['ip','3306','user','password']print(l[0])for i in l: print(i)l.index('ip') #取下标l.count('ip') #个数l2 = (1,)# 定义元 阅读全文
posted @ 2020-04-26 22:20 刘小小liu 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 一、Pycharm小技巧 1.pycharm创建项目时,选择Python环境,不使用默认的虚拟环境 2.修改pycharm中的字体 进入File-->Settings-->Editor-->Front可以对字体,大小等进行选择 3.配置pycharm可使用Ctrl+鼠标滚轮切换字体大小 进入File 阅读全文
posted @ 2020-04-26 12:52 刘小小liu 阅读(224) 评论(0) 推荐(0) 编辑