Also, if your Android phone is a Pixel, you can run the recently added Terminal app, which runs a plain vanilla Debian distribution within a VM. So you then have a pocketable Linux machine to develop code on. Not only does Python run on it, you can install the entire Anaconda Python suite.
Got a direct link to the app? The play store search is just offering me the Tom Hanks movie about a dude stuck in an airport ...
Edit: found it using these instructions.
https://github.com/nix-community/nixos-avf?tab=readme-ov-fil...
Also, you can have NixOS instead of debian: https://github.com/nix-community/nixos-avf
Wow, that’s cool! I wonder whether one day Apple is going to allow something like this with headless “macOS” VM on iPadOS to make it a viable local development platform.
I tried this a while back with. NET and Blazor. With split screen I was able to add some code and preview live in the browser and build and 'install' a simple pwa.
Presumably with an external monitor and the desktop mode it would be better.
Code from tiny llms such as Gemma are a waste of time but it "worked". It was neat to generate a working app completely offline.
The main problem was that the VM crashed on my pixel fairly frequently. Might be better by now.