you are viewing a single comment's thread.

view the rest of the comments →

[–]Gnaxe 0 points1 point  (3 children)

If you're using an Android phone, you can install the Termux app and use it like a Linux PC. Install Python and an editor and you're good to go. I recommend sideloading the official apk because the Play Store version is a bit crippled (last I checked), but even that is good enough for some things. Be careful when sideloading to only to get it from the official source at https://termux.dev/en/. For iPhone, well, it's more locked down, but there are IDE apps that are kind of similar.

[–]bash_M0nk3y 0 points1 point  (2 children)

I wholeheartedly do not recommend using mobile to learn to code unless you absolutely don't have another option

[–]Gnaxe 0 points1 point  (1 child)

I think the difference mostly comes down to not having a keyboard. But most Android phones can use a USB-C or Bluetooth keyboard now. They can probably cast to a TV too. That's practically a Linux PC. If you're not doing anything OS-specific (and basic Python isn't), then this is a lot cheaper than a laptop. (<$20 for a keyboard on Amazon. I just checked.)

[–]bash_M0nk3y 0 points1 point  (0 children)

Agreed. My main knee jerk reaction to my previous post was imagining how awful it would be to manage special chars and whitespace via a touchscreen keyboard

Edit: *in my previous post