Difference between revisions of "Python on Mobile Devices and Chromebooks"
Lostinbali (talk | contribs) (Adding resources for Python on Chromebooks and phones - will update) |
Lostinbali (talk | contribs) |
||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| − | + | <!-- This is a Draft Article - Private Message the AoPS User LostInBali for any concerns. Sorry admins if this page appears spammy - it's a WIP --> | |
| − | =Python on Chromebooks= | + | 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 running websites == | ||
| + | To run and develop Python in a web browser: | ||
| + | I personally recommend: | ||
| + | Github Codespaces: note that it has a limited hour tier so you should turn on the setting to turn off the Codespaces after a short period of inactivity. | ||
| + | You may also use the limited AoPS Python runner. | ||
| + | [pywindow] | ||
| + | print("test") | ||
| + | [/pywindow] | ||
| + | This is done with | ||
| + | [code] | ||
| + | [pywindow] | ||
| + | print("test") | ||
| + | [/pywindow] | ||
| + | [/code] | ||
| + | |||
| + | Additional: | ||
| + | Github Codespaces, Replit | ||
| + | Pyscript.net | ||
| + | Self host webVSC thingy, I forgot what it's called | ||
| + | |||
| + | |||
| + | == Python on Chromebooks == | ||
There are several methods to run python code on a Chromebook. | 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 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. | 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. | |
| − | =Python | + | 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 iOS devices= | + | == Python on Android devices == |
| + | Termux/LinuxVMs | ||
| + | == Python on iOS devices == | ||
| + | UTM? Why not? | ||
| + | Jailbreak | ||
| + | {{stub}} | ||
| − | + | [[Category:Computer programming]] | |
Latest revision as of 12:40, 31 October 2025
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.
Contents
Python running websites
To run and develop Python in a web browser: I personally recommend: Github Codespaces: note that it has a limited hour tier so you should turn on the setting to turn off the Codespaces after a short period of inactivity. You may also use the limited AoPS Python runner. [pywindow] print("test") [/pywindow] This is done with [code] [pywindow] print("test") [/pywindow] [/code]
Additional:
Github Codespaces, Replit
Pyscript.net Self host webVSC thingy, I forgot what it's called
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
This article is a stub. Help us out by expanding it.