Python on Mobile Devices and Chromebooks

(This is a Draft Article - Please Private Message the AoPS User LostInBali for any concerns - I will eventually finish this page - LostInBali is out for lunch and will complete this page) (Sorry admins if this page appears spammy - it's a WIP)


Warning: Methods on this page are not the easiest method, and sometimes things can go wrong. Do not trust these instructions with life or death requirements.

It's possible - and sometimes painful - to program in Python on these devices.

Python on Chromebooks

There are several methods to run python code on a Chromebook. Chromebooks run on ChromeOS, which is a modified version of Android, which in turn is based on Linux. Chromebooks are often favored by schools because they are lower cost, and are controllable via MDMs or management software.

Running Python in a Linux VM/Crostini

Most Chromebooks manufactured after 2019 support running Linux in a VM. See here on what Linux in a Chromebook/Crostini is, and how to enable it: https://support.google.com/chromebook/answer/9145439?hl=en After enabling it, boot it up, and install Linux. You *should* be able to simply type in [debian apt-get commands] to install Python and IDLE. UNTESTED

Running Python in Termux

Python on Android devices

Termux/LinuxVMs

Python on iOS devices

UTM? Why not? Jailbreak

Python running websites

Glitch, Github Codespaces, Replit Pyscript.net Self host webVSC thingy, I forgot what it's called