pythonstartup: migrate to python3