1.get和post的區(qū)別 get請求可以被緩存post不會被緩存 get是獲取指定的資源post是向指定的資源提交要被處理的數(shù)據(jù) get的參數(shù)只能支持ASCIIpost沒有...
1.get和post的區(qū)別 get請求可以被緩存post不會被緩存 get是獲取指定的資源post是向指定的資源提交要被處理的數(shù)據(jù) get的參數(shù)只能支持ASCIIpost沒有...
while用法 while 條件:----pass 例子1 例子2 例子3 執(zhí)行結(jié)果:{'url': 'user/login', 'method': 'get','param...
if 語句 條件表達(dá)式 if 條件表達(dá)式1:----(縮進(jìn))條件滿足以后要運(yùn)行的代碼elif 條件表達(dá)式2:----代碼2else(沒有表達(dá)式的):---- pass if ...
a = 'Hello world' # upper全部大寫 print(a.upper()) ==》HELLO WORLD # lower全部小寫 print(a.lower...
list.append(value):append只能在list的尾部添加數(shù)據(jù),數(shù)據(jù)的值為傳進(jìn)來的value,每次只能添加一個值;append操作后得到的返回值為None l...
格式:[start:end:step] [:]提取從開頭(默認(rèn)位置0)到結(jié)尾(默認(rèn)位置(-1))的整個字符串 [start:]從start提取到結(jié)尾 [:end]從開頭提取到...