單項(xiàng)選擇題

在Python中,哪個(gè)函數(shù)用于獲取當(dāng)前時(shí)間?()

A.time.now()
B.datetime.now()
C.time.current()
D.datetime.current()

微信掃碼免費(fèi)搜題