Python F-String-Formatdatum
import datetime
now = datetime.datetime.now()
print(f'{now:%Y-%m-%d %H:%M}')
pkmatador
import datetime
now = datetime.datetime.now()
print(f'{now:%Y-%m-%d %H:%M}')