omni compilerGet the app

Python · Android 7.0+ · free

A Python compiler app for Android

Write Python on your phone in an editor made for code, run it against your own input or a set of test cases, and see a verdict for every test with the full output. omni compiler keeps projects on your device, opens .py files straight from your file manager, and pulls repositories from GitHub or GitLab.

Python on a phone, done properly

  • Several Python versions

    Pick the interpreter version per run, so the code you practise on matches the one your course, contest or job interview uses. 118 runtimes across 65 languages in all.

  • stdin and test cases

    Programs that read from input() work as they do on a judge: type stdin yourself, or add up to 100 test cases with expected output and get AC, WA, TLE, MLE, RE, CE per test.

  • Tracebacks you can tap

    A runtime error shows the full traceback; tap the line number to jump to it in the editor.

  • Projects, not snippets

    Multiple .py files in folders, project-wide search, and files opened in place from your file manager. Import a repository from GitHub or GitLab, commit, push and pull.

Try it with a test case

Paste this into main.py, add a test case with the input below, and run. Prints 15.

import sys

def main():
    data = sys.stdin.read().split()
    n, nums = int(data[0]), list(map(int, data[1:]))
    print(sum(nums[:n]))

main()
Test input
3 4 5 6

Questions

Does it support Python 3 and libraries like NumPy?

Python 3 is supported, with more than one version to choose from. The standard library is available; which third-party packages are installed depends on the runtime, so check the run's output for an ImportError before relying on one.

Can I use this Python compiler for LeetCode or Codeforces practice?

Yes. Paste the problem's sample input and expected output as test cases, run, and compare your output with the expected one on a Wrong Answer. The built-in practice problems work the same way.

Is the Python compiler free?

Yes. omni compiler is free to download and use, with ads, and you can start as a guest without an account.

Can I run Python offline on my phone?

You can write and edit offline: projects are stored on your phone. Running needs a connection because the code executes in an isolated sandbox on our servers; runs you start offline are queued and sent when you reconnect.

Which Android versions does the Python compiler support?

Android 7.0 and newer, on phones and tablets. Tablets get a split view to edit two files side by side.

Other languages

65 languages in all; see every language page.

Start coding on your phone.

Download omni compiler and run your first program in seconds.