Python - super | 幂等 | 跳转&重定向

2017-10-14  本文已影响21人  姚屹晨

1.super

2.什么是幂等?

3.GNOME:GNU Network Object Model Environment

4.跳转和重定向
①跳转是什么(301)?

②重定向是什么(302)?

UNDERSTANDING SELF AND INIT METHOD IN PYTHON CLASS.

①Object is one of instances of the class,which can perform the functionalities which are defined in the class.

②self represents the instance of the class.By using the self keyword we can access the attributes and methods of the class in python.

__init__ is a reserved method in python classed.lt is known as a constructor in object oriented concepts.This method called when an object is created from the class and it allow the class to initialize the attributes of a class.

④Usage of "self" in class to access the methods and attributes.

need_for_speed.png rectangle.png

6.mysql
①如何创建一个数据库?

②如何切换到该数据库?

③如何修改一个表中的字段的长度?

修改字段的长度.png

④查询表中的数据

查询表中的数据.png

⑤增加和删除表中的一个字段

增加和删除表中的字段.png

⑥向表中插入一条记录

向表中插入一条记录.png

⑦删除Grade表中课程编号为1的记录。

删除Grade表中课程编号为1的记录.png
上一篇 下一篇

猜你喜欢

热点阅读