|
|
|
|
Strumenti |
18-09-2020, 04:34 | #1 |
Senior Member
Iscritto dal: Oct 2013
Messaggi: 726
|
[Python] Caratteri accentati
Ciao,
ho scritto un piccolo script in python, eccolo: Codice:
from time import gmtime, strftime data_sistema = strftime("%A",gmtime()) if strftime("%A", gmtime())=='Friday': data_intermedia_6 = data_sistema.replace("Friday","Venerd\00EC") print (data_intermedia_6) Grazie Ugo |
18-09-2020, 10:24 | #2 | |
Senior Member
Iscritto dal: Jul 2005
Messaggi: 735
|
a me funziona
Quote:
com'è l'output del tuo script ?
__________________
O.S.: WIN 10 64-bit CPU: INTEL I5 12400F RAM: 16 GB Corsair Vengeance LPX 3200 Mhz VGA: MSI ARMOR RX570 4GB OC MOBO: ASROCK B660M PRO RS HDD: Seagate 1TB SDD: CRUCIAL MX500 500GB ALI: BE QUIET PURE POWER CM 11 600W |
|
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 12:32.