Live Chat

We'll need to share your messages (and your email address if you're logged in) with our live chat provider, Drift. Here's their privacy policy.

If you don't want to do this, you can email us instead at contact@anvil.works.

Different Versions of Python

Anvil lets you write everything in Python - both in the web browser and on the server.

When you are writing code that runs in the web browser, there are limits to the language features and libraries you can use, because your code is being compiled to Javascript.

However, your Server Module code, which runs on the Anvil server, runs in a standard Python environment. For each app, you can choose between Python 2.7 or Python 3.7 for your server modules.

Free users must use our more restricted Python 2.7 sandbox, for performance and security reasons.

Selecting a Python server runtime