Python 2 EOL; what about P2 packages

Dietmar Schwertberger maillist at schwertberger.de
Sun May 12 15:52:55 EDT 2019


On 12.05.2019 16:38, GerritM wrote:
> Any suggestions how to port to Python 3, when using Python 2 only packages?

You need to decide for each package whether to port it or to replace it.

HTMLgen is probably a pure Python package. It should not be too hard to 
port it to Python 3 yourself.

At the time, mx.DateTime filled a gap. Python has had a standard module 
'datetime' for some years now. When moving to Python 3 I replaced my 
usages of mx.DateTime with datetime and pytz.

Regards,

Dietmar





More information about the Python-list mailing list