Inizio upgrade to python3