幫助: help()
輸入輸出:dir(),input(),open(),print()
基礎型別:hex(),divmod(),ascii(),oct(),int(),str(),ord(),bool(),,tuple(),type(),bytes(),float(),chr(),complex()
集合:dict(),set(),list(),zip(), bytearray(),frozenset()
集合操作:
all(),any()
slice()
sum(),max(),min(),reversed(),sorted(),range()
map(),filter()
遍歷:next(),enumerate(),iter()
數學:abs(),pow(),round(),hash()返回物件的雜湊值。
類相關:
id(),memoryview()
object(),super()
classmethod(),staticmethod(),property()
isinstance(),issubclass()
delattr(),setattr(),getattr(),hasattr()
vars()#列出物件的全部屬性、函式
呼叫外部模組、動態執行 : eval(),exec(),bin(),callable(),compile()
流程相關:
globals(),locals()
物件序列化: repr(),repr的結果可以被(eval執行)
__import__()
len(),format()
python的函式分類 Python函式分類及操作
1 定義函式 2 def func1 3 testing 4 print in the func1 5 return 0 7 定義過程 8 def func2 9 testing2 10 print in the func2 12 呼叫函式 13 x func1 15 呼叫過程 16 y func2...
Oracle內建SQL函式 分類整理大全 2
這些函式接受字元引數回數字結果.引數可以是char或者是varchar2型別的.儘管實際下許多結果都是整數值,但是返回結果都是簡單的number型別的,沒有定義任何的精度或刻度範圍.ascii 語法 ascii string 功能 資料庫字符集返回string的第乙個位元組的十進位制表示.請注意該函...
Oracle內建SQL函式 分類整理大全 3
函式接受number型別的引數並返回number型別的數值.超越函式和三角函式的返回值精確到36位.acos asin atan atan2的結果精確到36位.abs 語法 abs x 功能 得到x的絕對值.使用位置 過程性語言和sql語句。acos 語法 acos x 功能 返回x的反余弦值.x應...