python - datetime时间输出的问题
ringa_lee
ringa_lee 2017-05-18 10:46:51
0
2
840

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学习者快速成长!