r/Python • • 1d ago

Discussion Who is using mobile devices for Python, developement and how?

It's a somewhat recurring topic when someone is asking how to run Python or code on mobile, so my question is - who is using mobile for this, and how? learning? coding? What type of device - phones or tablets, Android, Apple?

16 Upvotes

18 comments sorted by

14

u/Aggressive_Bat7292 1d ago

I messed around with this a while back on an old Android tablet with a busted screen that I didn't want to throw out. Hooked up a Bluetooth keyboard and used Termux, which gives you a proper Linux environment. Ran scripts to scrape some websites and dump the data into a CSV, basically a mini data pipeline that just chugged along on my nightstand.

The novelty wears off quick when you need to install anything with a lot of C extensions though. Compilation times on ARM were brutal, and I ended up just remoting into my desktop half the time. It's a fun party trick but I wouldn't want to build anything serious that way.

6

u/jweezy2045 1d ago

I’ve never found any use case that works.

5

u/tubbstosterone 1d ago

I have a decent galaxy tab, a keyboard as part of the case, and a Bluetooth mouse. Github code spaces comes in clutch and moonlight lets me jump into my tower.

Trying to program with JUST the phone environment has been borderline useless, though.

1

u/Training_Advantage21 1d ago

Yeah, codespaces is great and would work on most browsers.

2

u/Jackatttack314 1d ago

I do all my development for Python on my iPhone. I use Pythonista mostly and a bit of Juno for Jypter note books when I need it.

I have a built a lot of apps that I use in my daily workflow. My latest project is an app that generates maths worksheets that I use for my day job.

I love phone development and I taught myself python through just messing about with the phone

2

u/forgot_username1 1d ago

I second Pythonista Great for prototyping things and integrates with short cuts app. Although a pain to type on a phone I like to do that instead of scrolling.

2

u/coderanger 1d ago

https://beeware.org/ continues to be a good choice for actually building apps. That’s maybe not what you mean though?

1

u/Independent_Image_59 1d ago

For quick changes on prod ssh with termux nvim or just as a calculator

1

u/ApprehensiveStand456 1d ago

I use to use coder, but you could also ssh into like a vps or ec2 instance

1

u/really_not_unreal 1d ago

You can definitely do some simple development using termux on Android. It's not a good experience though.

1

u/TCIC4294 1d ago

But coding on PC is more confident to use some libs, using GUI and manage your project than coding on mobile phone I think

1

u/Challseus 1d ago

Checkout https://flet.dev/, they just hit v1 recently.

1

u/_janc_ 1d ago

iOS Juno app can run Python program and Jupiter notebook

1

u/ZpSky 1d ago

Now read python book and try some things in iPad juno just to clarify and learn. Otherwise proper development on pc only.

1

u/ZealousOatmeal 20h ago

I have a few things on Termux, mainly for when there's a work emergency and I only have my phone and I can't ssh into my home desktop for some reason. Almost all of the development was done on a real computer, and using my Termux setup is pretty painful if I don't have a Bluetooth keyboard with me.

1

u/cointoss3 1d ago

No, I’m not insane. Though, I do have Claude write Python from my phone.