Python

Environment

Qualified supports Python 2.7, 3.4, 3.6, 3.7 and 3.8.

Timeout

The sandbox environment will timeout the code within 12 seconds.

Packages

The following Python packages are installed:

Python 2.7

Python 3.4

Python 3.6

Python 3.7

Since Python 3.7, we have presets for different kinds of challenges. Use the Run Configuration menu in project code challenge mode to select a preset.

Default (no preset)

Data Science (datascience preset)

Django (django preset)

Only available in Project Code Challenges.

Python 3.8

Default (no preset)

Data Science (datascience preset)

Django (django preset)

Only available in Project Code Challenges.

Testing

Our Python environment supports the following testing frameworks: