Đi đến trình phátĐi đến nội dung chính
  • 5 năm trước
Python program to display current date and time
Link to all related video in the playlist "Python quick and dirty sample source code"

https://dailymotion.com/playlist/x74cx0

source code
import datetime

now = datetime.datetime.now()

print('current time')
print(now.strftime('%Y-%m-%d %H-%M-%S'))

Danh mục

📚
Học tập
Bình luận

Được khuyến cáo