python - datetime時間輸出的問題
ringa_lee
ringa_lee 2017-05-18 10:46:51
0
2
839

1在codecademy學習PYTHON基礎知識 學到 datetime

運行了一下程式碼:

from datetime import datetime
now=datetime.now()
#print now
print now.year
print now.month
print now.day
print now.time"

输出的问题是:  年 月 日 都没问题 就是 时间那里 不知道是啥意思。

'''2017
5
15
<built-in method time of datetime.datetime object at 0x7f7bd75f7f30>
None
ringa_lee
ringa_lee

ringa_lee

熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板
關於我們 免責聲明 Sitemap
PHP中文網:公益線上PHP培訓,幫助PHP學習者快速成長!