2018-05-03 12:24 GMT+02:00 Alessandro Dentella <san...@e-den.it>: > > Format specifiers can themselves contain replacement fields. For example, a > field whose field width is itself a parameter could be specified via: > > > In [3]: "{0:.{1}f}".format(3.14185, 2) > Out[3]: '3.14' > > > La frase รจ presa da qui: https://www.python.org/dev/peps/pep-3101/ > > sandro > *:-) >
Grazie Sandro, avevop googlato per cercare la documentazione che tu hai linkato, ma non avevo trovato questo esempio. Ciao. M. _______________________________________________ Python mailing list Python@lists.python.it https://lists.python.it/mailman/listinfo/python