Python Datetime maintenant seulement heure et minute
from datetime import datetime
hour_and_minute = datetime.now().strftime("%H:%M")
# "14:09"
Leo
from datetime import datetime
hour_and_minute = datetime.now().strftime("%H:%M")
# "14:09"