獲取當前日期:
from datetime import datetime IN:datetime.now() OUT:datetime(2016,10,19,6,51,21,72341) 轉化為字符串顯示: str(datetime.now)
http://stackoverflow.com/questions/415511/how-to-get-current-time-in-python
獲取當前日期:
from datetime import datetime IN:datetime.now() OUT:datetime(2016,10,19,6,51,21,72341) 轉化為字符串顯示: str(datetime.now)
http://stackoverflow.com/questions/415511/how-to-get-current-time-in-python
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。