1.super
-
super(cls,inst)獲得是cls在MRO(Method Resolution Order)列表中的下一個(gè)類(+1)
2.什么是冪等?
- 在相同的數(shù)據(jù)和參數(shù)下,執(zhí)行一次或多次產(chǎn)生的效果是一樣的。
3.GNOME:GNU Network Object Model Environment
4.跳轉(zhuǎn)和重定向
①跳轉(zhuǎn)是什么(301)?
- 為了保證用戶的訪問,將舊網(wǎng)址在廢棄前轉(zhuǎn)向新網(wǎng)址,舊網(wǎng)址大多數(shù)情況下會(huì)永久性移走。
②重定向是什么(302)?
- 表示頁面只是暫時(shí)性被轉(zhuǎn)移。
①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.


6.mysql
①如何創(chuàng)建一個(gè)數(shù)據(jù)庫?
create database GradeManager;
②如何切換到該數(shù)據(jù)庫?
use GradeManager;
③如何修改一個(gè)表中的字段的長度?

④查詢表中的數(shù)據(jù)

⑤增加和刪除表中的一個(gè)字段

⑥向表中插入一條記錄

⑦刪除Grade表中課程編號(hào)為1的記錄。
