During AMC testing, the AoPS Wiki is in read-only mode and no edits can be made.

Difference between revisions of "Python on Mobile Devices and Chromebooks"

 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{python}}
 
 
<!-- 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 -->
 
<!-- 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 -->
  
Line 5: Line 4:
  
 
It's possible - and sometimes painful - to program in Python on these devices.
 
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 ==
 
== Python on Chromebooks ==
Line 26: Line 47:
 
UTM? Why not?
 
UTM? Why not?
 
Jailbreak
 
Jailbreak
 
== Python running websites ==
 
Glitch, Github Codespaces, Replit
 
Pyscript.net
 
Self host webVSC thingy, I forgot what it's called
 
  
 
{{stub}}
 
{{stub}}
  
 
[[Category:Computer programming]]
 
[[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.


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.