新聞中心
python內(nèi)置的函數(shù)及其用法。為了方便記憶,已經(jīng)有很多開發(fā)者將這些內(nèi)置函數(shù)進(jìn)行了如下分類:

·數(shù)學(xué)運(yùn)算(7個)
·類型轉(zhuǎn)換(24個)
·序列操作(8個)
·對象操作(7個)
·反射操作(8個)
·變量操作(2個)
·交互操作(2個)
·文件操作(1個)
·編譯執(zhí)行(4個)
·裝飾器(3個)
接下來看看具體每個類別里包含了那些內(nèi)置函數(shù)
一、數(shù)學(xué)運(yùn)算類
二、集合類操作
三、邏輯判斷
四、反射
五、IO操作
具體每個函數(shù)的解析如下:
數(shù)學(xué)運(yùn)算
abs:求數(shù)值的絕對值
>>> abs(-2) 2
divmod:返回兩個數(shù)值的商和余數(shù)
>>> divmod(5,2) (2, 1) >> divmod(5.5,2) (2.0, 1.5)
max:返回可迭代對象中的元素中的值或者所有參數(shù)的值
>>> max(1,2,3) # 傳入3個參數(shù) 取3個中較大者
3
>>> max('1234') # 傳入1個可迭代對象,取其元素值
'4'
>>> max(-1,0) # 數(shù)值默認(rèn)取數(shù)值較大者
0
>>> max(-1,0,key = abs) # 傳入了求絕對值函數(shù),則參數(shù)都會進(jìn)行求絕對值后再取較大者
-1min:返回可迭代對象中的元素中的最小值或者所有參數(shù)的最小值
>>> min(1,2,3) # 傳入3個參數(shù) 取3個中較小者
1
>>> min('1234') # 傳入1個可迭代對象,取其最小元素值
'1'
>>> min(-1,-2) # 數(shù)值默認(rèn)去數(shù)值較小者
-2
>>> min(-1,-2,key = abs) # 傳入了求絕對值函數(shù),則參數(shù)都會進(jìn)行求絕對值后再取較小者
-1pow:返回兩個數(shù)值的冪運(yùn)算值或其與指定整數(shù)的模值
>>> pow(2,3) >>> 2**3 >>> pow(2,3,5) >>> pow(2,3)%5
round:對浮點(diǎn)數(shù)進(jìn)行四舍五入求值
>>> round(1.1314926,1) 1.1 >>> round(1.1314926,5) 1.13149
sum:對元素類型是數(shù)值的可迭代對象中的每個元素求和
# 傳入可迭代對象 >>> sum((1,2,3,4)) 10 # 元素類型必須是數(shù)值型 >>> sum((1.5,2.5,3.5,4.5)) 12.0 >>> sum((1,2,3,4),-10) 0
類型轉(zhuǎn)換
bool:根據(jù)傳入的參數(shù)的邏輯值創(chuàng)建一個新的布爾值
>>> bool() #未傳入?yún)?shù) False >>> bool(0) #數(shù)值0、空序列等值為False False >>> bool(1) True
int:根據(jù)傳入的參數(shù)創(chuàng)建一個新的整數(shù)
>>> int() #不傳入?yún)?shù)時,得到結(jié)果0。 0 >>> int(3) 3 >>> int(3.6) 3
float:根據(jù)傳入的參數(shù)創(chuàng)建一個新的浮點(diǎn)數(shù)
>>> float() #不提供參數(shù)的時候,返回0.0
0.0
>>> float(3)
3.0
>>> float('3')
3.0complex:根據(jù)傳入?yún)?shù)創(chuàng)建一個新的復(fù)數(shù)
>>> complex() #當(dāng)兩個參數(shù)都不提供時,返回復(fù)數(shù) 0j。
0j
>>> complex('1+2j') #傳入字符串創(chuàng)建復(fù)數(shù)
(1+2j)
>>> complex(1,2) #傳入數(shù)值創(chuàng)建復(fù)數(shù)
(1+2j)str:返回一個對象的字符串表現(xiàn)形式(給用戶)
>>> str()
''
>>> str(None)
'None'
>>> str('abc')
'abc'
>>> str(123)
'123'bytearray:根據(jù)傳入的參數(shù)創(chuàng)建一個新的字節(jié)數(shù)組
>>> bytearray('中文','utf-8')
bytearray(b'\xe4\xb8\xad\xe6\x96\x87')bytes:根據(jù)傳入的參數(shù)創(chuàng)建一個新的不可變字節(jié)數(shù)組
>>> bytes('中文','utf-8')
b'\xe4\xb8\xad\xe6\x96\x87'memoryview:根據(jù)傳入的參數(shù)創(chuàng)建一個新的內(nèi)存查看對象
>>> v = memoryview(b'abcefg') >>> v[1] 98 >>> v[-1] 103
ord:返回Unicode字符對應(yīng)的整數(shù)
>>> ord('a')
97chr:返回整數(shù)所對應(yīng)的Unicode字符
>>> chr(97) #參數(shù)類型為整數(shù) 'a'
bin:將整數(shù)轉(zhuǎn)換成2進(jìn)制字符串
>>> bin(3) '0b11'
oct:將整數(shù)轉(zhuǎn)化成8進(jìn)制數(shù)字符串
>>> oct(10) '0o12'
hex:將整數(shù)轉(zhuǎn)換成16進(jìn)制字符串
>>> hex(15) '0xf'
tuple:根據(jù)傳入的參數(shù)創(chuàng)建一個新的元組
>>> tuple() #不傳入?yún)?shù),創(chuàng)建空元組
()
>>> tuple('121') #傳入可迭代對象。使用其元素創(chuàng)建新的元組
('1', '2', '1')list:根據(jù)傳入的參數(shù)創(chuàng)建一個新的列表
>>>list() # 不傳入?yún)?shù),創(chuàng)建空列表
[]
>>> list('abcd') # 傳入可迭代對象,使用其元素創(chuàng)建新的列表
['a', 'b', 'c', 'd']dict:根據(jù)傳入的參數(shù)創(chuàng)建一個新的字典
>>> dict() # 不傳入任何參數(shù)時,返回空字典。
{}
>>> dict(a = 1,b = 2) # 可以傳入鍵值對創(chuàng)建字典。
{'b': 2, 'a': 1}
>>> dict(zip(['a','b'],[1,2])) # 可以傳入映射函數(shù)創(chuàng)建字典。
{'b': 2, 'a': 1}
>>> dict((('a',1),('b',2))) # 可以傳入可迭代對象創(chuàng)建字典。
{'b': 2, 'a': 1}set:根據(jù)傳入的參數(shù)創(chuàng)建一個新的集合
>>>set() # 不傳入?yún)?shù),創(chuàng)建空集合
set()
>>> a = set(range(10)) # 傳入可迭代對象,創(chuàng)建集合
>>> a
{0, 1, 2, 3, 4, 5, 6, 7, 8, 9}frozenset:根據(jù)傳入的參數(shù)創(chuàng)建一個新的不可變集合
>>> a = frozenset(range(10))
>>> a
frozenset({0, 1, 2, 3, 4, 5, 6, 7, 8, 9})enumerate:根據(jù)可迭代對象創(chuàng)建枚舉對象
>>> seasons = ['Spring', 'Summer', 'Fall', 'Winter'] >>> list(enumerate(seasons)) [(0, 'Spring'), (1, 'Summer'), (2, 'Fall'), (3, 'Winter')] >>> list(enumerate(seasons, start=1)) #指定起始值 [(1, 'Spring'), (2, 'Summer'), (3, 'Fall'), (4, 'Winter')]
range:根據(jù)傳入的參數(shù)創(chuàng)建一個新的range對象
>>> a = range(10) >>> b = range(1,10) >>> c = range(1,10,3) >>> a,b,c # 分別輸出a,b,c (range(0, 10), range(1, 10), range(1, 10, 3)) >>> list(a),list(b),list(c) # 分別輸出a,b,c的元素 ([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 2, 3, 4, 5, 6, 7, 8, 9], [1, 4, 7]) >>>
iter:根據(jù)傳入的參數(shù)創(chuàng)建一個新的可迭代對象
>>> a = iter('abcd') #字符串序列
>>> a
>>> next(a)
'a'
>>> next(a)
'b'
>>> next(a)
'c'
>>> next(a)
'd'
>>> next(a)
Traceback (most recent call last):
File "", line 1, in
next(a)
StopIteration slice:根據(jù)傳入的參數(shù)創(chuàng)建一個新的切片對象
>>> c1 = slice(5) # 定義c1 >>> c1 slice(None, 5, None) >>> c2 = slice(2,5) # 定義c2 >>> c2 slice(2, 5, None) >>> c3 = slice(1,10,3) # 定義c3 >>> c3 slice(1, 10, 3)
super:根據(jù)傳入的參數(shù)創(chuàng)建一個新的子類和父類關(guān)系的代理對象
#定義父類A
>>> class A(object):
def __init__(self):
print('A.__init__')
#定義子類B,繼承A
>>> class B(A):
def __init__(self):
print('B.__init__')
super().__init__()
#super調(diào)用父類方法
>>> b = B()
B.__init__
A.__init__object:創(chuàng)建一個新的object對象
>>> a = object() >>> a.name = 'kim' # 不能設(shè)置屬性 Traceback (most recent call last): File "", line 1, in a.name = 'kim' AttributeError: 'object' object has no attribute 'name'
序列操作
all:判斷可迭代對象的每個元素是否都為True值
>>> all([1,2]) #列表中每個元素邏輯值均為True,返回True
True
>>> all([0,1,2]) #列表中0的邏輯值為False,返回False
False
>>> all(()) #空元組
True
>>> all({}) #空字典
Trueany:判斷可迭代對象的元素是否有為True值的元素
>>> any([0,1,2]) #列表元素有一個為True,則返回True
True
>>> any([0,0]) #列表元素全部為False,則返回False
False
>>> any([]) #空列表
False
>>> any({}) #空字典
Falsefilter:使用指定方法過濾可迭代對象的元素
>>> a = list(range(1,10)) #定義序列 >>> a [1, 2, 3, 4, 5, 6, 7, 8, 9] >>> def if_odd(x): #定義奇數(shù)判斷函數(shù) return x%2==1 >>> list(filter(if_odd,a)) #篩選序列中的奇數(shù) [1, 3, 5, 7, 9]
map:使用指定方法去作用傳入的每個可迭代對象的元素,生成新的可迭代對象
>>> a = map(ord,'abcd') >>> a
next:返回可迭代對象中的下一個元素值
>>> a = iter('abcd')
>>> next(a)
'a'
>>> next(a)
'b'
>>> next(a)
'c'
>>> next(a)
'd'
>>> next(a)
Traceback (most recent call last):
File "", line 1, in
next(a)
StopIteration
#傳入default參數(shù)后,如果可迭代對象還有元素沒有返回,則依次返回其元素值,如果所有元素已經(jīng)返回,則返回default指定
的默認(rèn)值而不拋出StopIteration 異常
>>> next(a,'e')
'e'
>>> next(a,'e')
'e' reversed:反轉(zhuǎn)序列生成新的可迭代對象
>>> a = reversed(range(10)) # 傳入range對象 >>> a # 類型變成迭代器>>> list(a) [9, 8, 7, 6, 5, 4, 3, 2, 1, 0]
sorted:對可迭代對象進(jìn)行排序,返回一個新的列表
>>> a = ['a','b','d','c','B','A'] >>> a ['a', 'b', 'd', 'c', 'B', 'A'] >>> sorted(a) # 默認(rèn)按字符ascii碼排序 ['A', 'B', 'a', 'b', 'c', 'd'] >>> sorted(a,key = str.lower) # 轉(zhuǎn)換成小寫后再排序,'a'和'A'值一樣,'b'和'B'值一樣 ['a', 'A', 'b', 'B', 'c', 'd']
zip:聚合傳入的每個迭代器中相同位置的元素,返回一個新的元組類型迭代器
>>> x = [1,2,3] #長度3 >>> y = [4,5,6,7,8] #長度5 >>> list(zip(x,y)) # 取最小長度3 [(1, 4), (2, 5), (3, 6)]
對象操作
help:返回對象的幫助信息
>>> help(str) Help on class str in module builtins: class str(object) | str(object='') -> str | str(bytes_or_buffer[, encoding[, errors]]) -> str | | Create a new string object from the given object. If encoding or | errors is specified, then the object must expose a data buffer | that will be decoded using the given encoding and error handler. | Otherwise, returns the result of object.__str__() (if defined) | or repr(object). | encoding defaults to sys.getdefaultencoding(). | errors defaults to 'strict'. | | Methods defined here: | | __add__(self, value, /) | Return self+value. | ***************************
dir:返回對象或者當(dāng)前作用域內(nèi)的屬性列表
>>> import math >>> math>>> dir(math) ['__doc__', '__loader__', '__name__', '__package__', '__spec__', 'acos', 'acosh', 'asin', 'asinh', 'atan', 'atan2', 'atanh', 'ceil', 'copysign', 'cos', 'cosh', 'degrees', 'e', 'erf', 'erfc', 'exp', 'expm1', 'fabs', 'factorial', 'floor', 'fmod', 'frexp', 'fsum', 'gamma', 'gcd', 'hypot', 'inf', 'isclose', 'isfinite', 'isinf', 'isnan', 'ldexp', 'lgamma', 'log', 'log10', 'log1p', 'log2', 'modf', 'nan', 'pi', 'pow', 'radians', 'sin', 'sinh', 'sqrt', 'tan', 'tanh', 'trunc']
id:返回對象的唯一標(biāo)識符
>>> a = 'some text' >>> id(a) 69228568
hash:獲取對象的哈希值
>>> hash('good good study')
1032709256type:返回對象的類型,或者根據(jù)傳入的參數(shù)創(chuàng)建一個新的類型
>>> type(1) # 返回對象的類型#使用type函數(shù)創(chuàng)建類型D,含有屬性InfoD >>> D = type('D',(A,B),dict(InfoD='some thing defined in D')) >>> d = D() >>> d.InfoD 'some thing defined in D'
len:返回對象的長度
>>> len('abcd') # 字符串
>>> len(bytes('abcd','utf-8')) # 字節(jié)數(shù)組
>>> len((1,2,3,4)) # 元組
>>> len([1,2,3,4]) # 列表
>>> len(range(1,5)) # range對象
>>> len({'a':1,'b':2,'c':3,'d':4}) # 字典
>>> len({'a','b','c','d'}) # 集合
>>> len(frozenset('abcd')) #不可變集合ascii:返回對象的可打印表字符串表現(xiàn)方式
>>> ascii(1)
'1'
>>> ascii('&')
"'&'"
>>> ascii(9000000)
'9000000'
>>> ascii('中文') #非ascii字符
"'\\u4e2d\\u6587'"format:格式化顯示值
#字符串可以提供的參數(shù) 's' None
>>> format('some string','s')
'some string'
>>> format('some string')
'some string'
#整形數(shù)值可以提供的參數(shù)有 'b' 'c' 'd' 'o' 'x' 'X' 'n' None
>>> format(3,'b') #轉(zhuǎn)換成二進(jìn)制
'11'
>>> format(97,'c') #轉(zhuǎn)換unicode成字符
'a'
>>> format(11,'d') #轉(zhuǎn)換成10進(jìn)制
'11'
>>> format(11,'o') #轉(zhuǎn)換成8進(jìn)制
'13'
>>> format(11,'x') #轉(zhuǎn)換成16進(jìn)制 小寫字母表示
'b'
>>> format(11,'X') #轉(zhuǎn)換成16進(jìn)制 大寫字母表示
'B'
>>> format(11,'n') #和d一樣
'11'
>>> format(11) #默認(rèn)和d一樣
'11'
#浮點(diǎn)數(shù)可以提供的參數(shù)有 'e' 'E' 'f' 'F' 'g' 'G' 'n' '%' None
>>> format(314159267,'e') #科學(xué)計數(shù)法,默認(rèn)保留6位小數(shù)
'3.141593e+08'
>>> format(314159267,'0.2e') #科學(xué)計數(shù)法,指定保留2位小數(shù)
'3.14e+08'
>>> format(314159267,'0.2E') #科學(xué)計數(shù)法,指定保留2位小數(shù),采用大寫E表示
'3.14E+08'
>>> format(314159267,'f') #小數(shù)點(diǎn)計數(shù)法,默認(rèn)保留6位小數(shù)
'314159267.000000'
>>> format(3.14159267000,'f') #小數(shù)點(diǎn)計數(shù)法,默認(rèn)保留6位小數(shù)
'3.141593'
>>> format(3.14159267000,'0.8f') #小數(shù)點(diǎn)計數(shù)法,指定保留8位小數(shù)
'3.14159267'
>>> format(3.14159267000,'0.10f') #小數(shù)點(diǎn)計數(shù)法,指定保留10位小數(shù)
'3.1415926700'
>>> format(3.14e+1000000,'F') #小數(shù)點(diǎn)計數(shù)法,無窮大轉(zhuǎn)換成大小字母
'INF'
#g的格式化比較特殊,假設(shè)p為格式中指定的保留小數(shù)位數(shù),先嘗試采用科學(xué)計數(shù)法格式化,得到冪指數(shù)exp,如果-4<=exp>> format(0.00003141566,'.1g') #p=1,exp=-5 ==》 -4<=exp
>> format(0.00003141566,'.2g') #p=1,exp=-5 ==》 -4<=exp
>> format(0.00003141566,'.3g') #p=1,exp=-5 ==》 -4<=exp
>> format(0.00003141566,'.3G') #p=1,exp=-5 ==》 -4<=exp
>> format(3.1415926777,'.1g') #p=1,exp=0 ==》 -4<=exp
>> format(3.1415926777,'.2g') #p=1,exp=0 ==》 -4<=exp
>> format(3.1415926777,'.3g') #p=1,exp=0 ==》 -4<=exp
>> format(0.00003141566,'.1n') #和g相同
'3e-05'
>>> format(0.00003141566,'.3n') #和g相同
'3.14e-05'
>>> format(0.00003141566) #和g相同
'3.141566e-05'
vars:返回當(dāng)前作用域內(nèi)的局部變量和其值組成的字典,或者返回對象的屬性列表
#作用于類實例
>>> class A(object):
pass
>>> a.__dict__
{}
>>> vars(a)
{}
>>> a.name = 'Kim'
>>> a.__dict__
{'name': 'Kim'}
>>> vars(a)
{'name': 'Kim'}反射操作
__import__:動態(tài)導(dǎo)入模塊
index = __import__('index')
index.sayHello()isinstance:判斷對象是否是類或者類型元組中任意類元素的實例
>>> isinstance(1,int) True >>> isinstance(1,str) False >>> isinstance(1,(int,str)) True
issubclass:判斷類是否是另外一個類或者類型元組中任意類元素的子類
>>> issubclass(bool,int) True >>> issubclass(bool,str) False >>> issubclass(bool,(str,int)) True
hasattr:檢查對象是否含有屬性
#定義類A
>>> class Student:
def __init__(self,name):
self.name = name
>>> s = Student('Aim')
>>> hasattr(s,'name') #a含有name屬性
True
>>> hasattr(s,'age') #a不含有age屬性
Falsegetattr:獲取對象的屬性值
#定義類Student >>> class Student: def __init__(self,name): self.name = name >>> getattr(s,'name') #存在屬性name 'Aim' >>> getattr(s,'age',6) #不存在屬性age,但提供了默認(rèn)值,返回默認(rèn)值 >>> getattr(s,'age') #不存在屬性age,未提供默認(rèn)值,調(diào)用報錯 Traceback (most recent call last): File "", line 1, in getattr(s,'age') AttributeError: 'Stduent' object has no attribute 'age'
setattr:設(shè)置對象的屬性值
>>> class Student:
def __init__(self,name):
self.name = name
>>> a = Student('Kim')
>>> a.name
'Kim'
>>> setattr(a,'name','Bob')
>>> a.name
'Bob'delattr:刪除對象的屬性
#定義類A
>>> class A:
def __init__(self,name):
self.name = name
def sayHello(self):
print('hello',self.name)
#測試屬性和方法
>>> a.name
'小麥'
>>> a.sayHello()
hello 小麥
#刪除屬性
>>> delattr(a,'name')
>>> a.name
Traceback (most recent call last):
File "", line 1, in
a.name
AttributeError: 'A' object has no attribute 'name' callable:檢測對象是否可被調(diào)用
>>> class B: #定義類B
def __call__(self):
print('instances are callable now.')
>>> callable(B) #類B是可調(diào)用對象
True
>>> b = B() #調(diào)用類B
>>> callable(b) #實例b是可調(diào)用對象
True
>>> b() #調(diào)用實例b成功
instances are callable now.變量操作
globals:返回當(dāng)前作用域內(nèi)的全局變量和其值組成的字典
>>> globals()
{'__spec__': None, '__package__': None, '__builtins__': , '__name__': '__main__',
'__doc__': None, '__loader__': }
>>> a = 1
>>> globals() #多了一個a
{'__spec__': None, '__package__': None, '__builtins__': , 'a': 1, '__name__':
'__main__', '__doc__': None, '__loader__': } locals:返回當(dāng)前作用域內(nèi)的局部變量和其值組成的字典
>>> def f():
print('before define a ')
print(locals()) #作用域內(nèi)無變量
a = 1
print('after define a')
print(locals()) #作用域內(nèi)有一個a變量,值為1
>>> f
>>> f()
before define a
{}
after define a
{'a': 1} 交互操作
print:向標(biāo)準(zhǔn)輸出對象打印輸出
>>> print(1,2,3) 1 2 3 >>> print(1,2,3,sep = '+') 1+2+3 >>> print(1,2,3,sep = '+',end = '=?') 1+2+3=?
input:讀取用戶輸入值
>>> s = input('please input your name:')
please input your name:Ain
>>> s
'Ain'文件操作
open:使用指定的模式和編碼打開文件,返回文件讀寫對象
# t為文本讀寫,b為二進(jìn)制讀寫
>>> a = open('test.txt','rt')
>>> a.read()
'some text'
>>> a.close()編譯執(zhí)行
compile:將字符串編譯為代碼或者AST對象,使之能夠通過exec語句來執(zhí)行或者eval進(jìn)行求值
>>> #流程語句使用exec >>> code1 = 'for i in range(0,10): print (i)' >>> compile1 = compile(code1,'','exec') >>> exec (compile1) 0 1 2 3 4 5 6 7 8 9 >>> #簡單求值表達(dá)式用eval >>> code2 = '1 + 2 + 3 + 4' >>> compile2 = compile(code2,'','eval') >>> eval(compile2) 10
eval:執(zhí)行動態(tài)表達(dá)式求值
>>> eval('1+2+3+4')
10exec:執(zhí)行動態(tài)語句塊
>>> exec('a=1+2') #執(zhí)行語句
>>> a
3repr:返回一個對象的字符串表現(xiàn)形式(給解釋器)
>>> a = 'some text' >>> str(a) 'some text' >>> repr(a) "'some text'"
裝飾器
property:標(biāo)示屬性的裝飾器
>>> class C:
def __init__(self):
self._name = ''
@property
def name(self):
"""i'm the 'name' property."""
return self._name
@name.setter
def name(self,value):
if value is None:
raise RuntimeError('name can not be None')
else:
self._name = value
>>> c = C()
>>> c.name # 訪問屬性
''
>>> c.name = None # 設(shè)置屬性時進(jìn)行驗證
Traceback (most recent call last):
File "", line 1, in
c.name = None
File "", line 11, in name
raise RuntimeError('name can not be None')
RuntimeError: name can not be None
>>> c.name = 'Kim' # 設(shè)置屬性
>>> c.name # 訪問屬性
'Kim'
>>> del c.name # 刪除屬性,不提供deleter則不能刪除
Traceback (most recent call last):
File "", line 1, in
del c.name
AttributeError: can't delete attribute
>>> c.name
'Kim' classmethod:標(biāo)示方法為類方法的裝飾器
>>> class C:
@classmethod
def f(cls,arg1):
print(cls)
print(arg1)
>>> C.f('類對象調(diào)用類方法')
類對象調(diào)用類方法
>>> c = C()
>>> c.f('類實例對象調(diào)用類方法')
類實例對象調(diào)用類方法 staticmethod:標(biāo)示方法為靜態(tài)方法的裝飾器
# 使用裝飾器定義靜態(tài)方法
>>> class Student(object):
def __init__(self,name):
self.name = name
@staticmethod
def sayHello(lang):
print(lang)
if lang == 'en':
print('Welcome!')
else:
print('你好!')
>>> Student.sayHello('en') #類調(diào)用,'en'傳給了lang參數(shù)
en
Welcome!
>>> b = Student('Kim')
>>> b.sayHello('zh') #類實例對象調(diào)用,'zh'傳給了lang參數(shù)
zh
你好python學(xué)習(xí)網(wǎng),免費(fèi)的在線學(xué)習(xí)python平臺,歡迎關(guān)注!
本文轉(zhuǎn)自:https://blog.csdn.net/alice_tl/article/details/80867196
名稱欄目:創(chuàng)新互聯(lián)Python教程:盤點(diǎn)Python中的內(nèi)置函數(shù)
分享網(wǎng)址:http://fisionsoft.com.cn/article/djsjdde.html


咨詢
建站咨詢
