84669 人が学習中
152542 人が学習中
20005 人が学習中
5487 人が学習中
7821 人が学習中
359900 人が学習中
3350 人が学習中
180660 人が学習中
48569 人が学習中
18603 人が学習中
40936 人が学習中
1549 人が学習中
1183 人が学習中
32909 人が学習中
1codecademy で Python の基礎を学び、datetime を学びましょう
コードを実行します:
ringa_lee
from datetime import datetime now=datetime.now() #print now print now.year print now.month print now.day print now.hour print now.minute print now.second print now.microsecond
没有time属性
print now.date() print now.time() print now.timetuple() print now.ctime()
print now.tiem()
没有time属性