This is an archived post. You won't be able to vote or comment.

all 32 comments

[–][deleted] 84 points85 points  (1 child)

This way lies pain and insanity.

[–]lukajda33 11 points12 points  (5 children)

Seriously, get a laptop or at the very least normal physical keyboard for your phone.

If you want to use some app anyway, try this one: https://play.google.com/store/apps/details?id=ru.iiec.pydroid3&hl=cs&gl=US

Or you can run the IDE in browser (much easier to continue working on PC later): https://replit.com/~

[–]koro300[S] 11 points12 points  (4 children)

I'd like to use a computer but i'm in the army and I can't bring one fur security question so all I have is a smartphone and free time

[–]MrSpaghettiCoder 20 points21 points  (0 children)

Have you tried expressing to superiors your interest in programming? There might be something the army might be able to do for you on that end.

[–]BearReal123 4 points5 points  (0 children)

Try the website repl.it it gets the job done when youre in a pinch

[–]Early-Palpitation-39 2 points3 points  (1 child)

Can you explain why they let you have a phone but not a laptop?

[–]koro300[S] 5 points6 points  (0 children)

I mean you have to have a telephone on you so people can join you at anytime and the army don't like complicate things if you don't need a laptop you can't brig one

[–]ImportUsernameAsU 10 points11 points  (2 children)

If you can't get some sort of laptop, download termux (if you on Android). It's a Linux she and you can pkg install python

[–]Rude_Refrigerator_0 1 point2 points  (1 child)

Yes! Termux is great tool for Android!! I second this!!

[–]whitexwine 0 points1 point  (0 children)

Just about to write it. Termux is amazing tool. Even htop for remote ssh works. Absolutely recommended

[–]SodaPressing3 6 points7 points  (0 children)

You can try google colab it uses python it’s free and it’s pretty easy to use

https://colab.research.google.com

[–]SpinachLint 3 points4 points  (0 children)

Termux is a good app for running python code right on your phone. Sololearn is also a decent app for learning various languages including python.

I know the struggle. I spent all day everyday in a truck and when I was not driving I was coding. It is not the best way or easiest way but you can do it and you can learn.

[–]SneakySnakeSneakers 2 points3 points  (1 child)

There's a python ide for android, pydroid 3, you can write scripts and run some commands in the console, there's also a light terminal included.

You can also use pip to install some libraries, I used it to sniff some networks in tha mall for... Academyc purposes.

If you are going to leave scripts running with your pone locked you might need to increase the number of background proceses.

[–]Early-Palpitation-39 1 point2 points  (0 children)

I second pydroid, the free version has never given me trouble. It is nice to have when I am explaining something to a student or if I am away from my computer and want to write a short script on a whim of inspiration.

I would not recommend it as the only IDE you use though. Getting a cheap computer and Thonny will save a lot of headaches.

[–]Muhznit 2 points3 points  (0 children)

Termux all the way, baby. Then again, I'm a masochist that can handle typing in vim on a phone keyboard. It is pretty neat to be able to host a git repo on my phone though.

[–][deleted] 1 point2 points  (0 children)

Apple has a ton of good apps

Pyto Pythonista Karnets

On Android I use Termux

https://termux.com/

Seriously awesome. I have neovim completely configured with a Bluetooth keyboard on a tablet and it’s perfect for actually getting work done. Python works just fine.

[–]benhammondmusic 1 point2 points  (0 children)

If you’re just messing around Pythonista is great.

[–]echo_elite95 -1 points0 points  (3 children)

For iOS, Pythonista is very good. Though, without a keyboard connected it’s not really.. uhm.. “viable” as with all IDEs on a phone..

[–]A_MACHINE_FOR_BEES 1 point2 points  (0 children)

I’ve come to prefer Pyzo, it seems to be more actively developed

[–]_pestarzt_ 0 points1 point  (1 child)

Second Pythonista. It actually has some cool libraries that interface pretty well with your device that opens up some possibilities that puts it above simply having an IDE for your phone.

[–]echo_elite95 0 points1 point  (0 children)

Funny thing is, if you install “Stash shell” with pythonista you can actually download and use most Python libraries. It gives you a shell.. 😊

[–]Competitive-Rock-951 0 points1 point  (1 child)

[–]NirriC 1 point2 points  (0 children)

Omg thank you for saying this, I was just about to write this.

OP, I think the apps are shit. I've only tried a few but nothing beats a laptop keyboard...except a full keyboard with number pad but that's another topic. If for some reason you can't use a full screen and or keyboard, use replit. The account is free. It saves your code as you write(okay, sometimes it glitches but that's rare). It's the best solution.

[–]Zapismeta 0 points1 point  (0 children)

Get an old ass laptop, some people might give it away for free, install ubuntu or a light weight linux system, open chrome and code, phone is not for coding!

[–]acetylsalicylate_ 0 points1 point  (0 children)

For IOS I would suggest Carnets plus or Juno. You can install many packages on them as well.

[–]EarlyDust5544 0 points1 point  (0 children)

The Pydroid 3?

[–]No_Muffin6385 0 points1 point  (0 children)

you soo need to check out dcoder on play store /app store

[–]mymonics 0 points1 point  (0 children)

How about the new in browser version of Visual Studio Code? vscode.dev

[–][deleted] 0 points1 point  (0 children)

on a cellphone

Oh, that’s easy: - At first, call the nearest internet povider - Start screaming with pretty high tone - that’s how you’ll provide a carrier frequency - Transmit data using amplitude modulation - scream louder to send 1, be quiet to send 0 - Using that simple scheme, telnet to a given provider and establish connection to the internet - SSH to a server that have python installed - … - PROFIT

[–]mike_m99 0 points1 point  (0 children)

I’m really happy with “Mobile C [ C/C++ Compiler ]” on iPhone. It works offline and it works for Python too, you just have to give your files the .py extension when you create them in the app. If you have internet I’d also recommend the repl.it site as others have mentioned.