DEV Community

Discussion on: Which Python Version is Your Live Project Using?

Collapse
 
tttfifo profile image
Todor Todorov

Hi Daniel,

This is very nice topic you are bringing up!

  • Whenever you need to use the default python from the operational system : for example devops scripts, some of the deployment tasks... the code needs to be compatible with 3.6
  • The development may be done with 3.7 because of it's cool features

About the Docker: a nice surprise for me was that all my 3.7 code is working nicely on top of the 'python:3.7.4-alpine' image. I was too cautious not to use Alpine, but it seams that it is playing nicely with Python. A good extra with Alpine is that the image is smaller than the others...

Cheers!