What versions of python are available for app platform?

This would be good information to add to the app platform docs.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
2 answers

Hi @ianCrab,

The Python version on App Platform is 3.9.2. You can check it out here:

https://docs.digitalocean.com/products/app-platform/languages-frameworks/python/

Search for ‘Python Version’ and you should be able to see it.

Hi there,

In addition to what has been already mentioned, you can also configure the python version used at runtime by specifying a runtime.txt file at the root of your source code. For example, if you wanted to have Python 3.9.1, you would have to add the following to the runtime.txt file:

python-3.9.1

Best,
Bobby

  • Hi Bobby, I saw this, but I was looking for a list of available version.

    Also, how does DO’s syntax work here, can you pin to major version like python-3.9.* or something?

    Thank you