Marco Ippolito wrote:
> Quali sono le principali differenze tra:
> https://docs.python.org/2/library/2to3.html
> e
> http://python-future.org/index.html
> ?

È spiegato in basso nella seconda pagina che linkato:

<http://python-future.org/faq.html#relationship-between-python-future-and-other-compatibility-tools>

In breve: usa 2to3 una volta per convertire il tuo codice a Python 3,
e poi usa future per retrocompatibilità con Python2.

-- 
Nicola 'tekNico' Larosa <http://www.tekNico.net/>

Look at the poor New Agers. Christianity developed defenses against
criticism, arguing for the wonders of faith; New Agers culturally
inherit the cached thought that faith is positive, but lack Christian-
ity's exclusionary scripture to keep out competing memes. New Agers
end up in happy death spirals around stars, trees, magnets, diets,
spells, unicorns... - Eliezer Yudkowsky, 2007

_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a