Python学习笔记(九)

前十章要点整理

方法:

init()\read()\readlines()\replace(’’)\split()

函数:

input()\int()\float()\remove()\super()\open(path,file)\close()\json.dump()\json.load(value,file)

语句:

break\continue\def*(元组)**(字典)\try-except\

类的命名使用驼峰命名法,类中的方法、属性应使用小写字母加下划线的形式

猜你喜欢

转载自blog.csdn.net/qq_42183549/article/details/113132522