22 AnswersNew Answer
I think yes. But be aware of losing the guarantee if you damage something. And it is your own risk if you "brick" your device. "brick" means that you damage the operating system and you are not able to recover your system. So, be careful.
Not by default, but you can install Termux, which is a Linux-console for Android. Downside is that current Android devices have many access restrictions.
Bartas Dausynas 🤦♂ Bro I mean , $ python python 3.6.5 >>> import tkinter >>> root = Tk() Just like this I wanna say . I means the Computer is the best option.
Bartas Dausynas Like using python and any language in computer and laptop and in android is different, like you cant use tkinter, etc
Youssef Atta'i Pydroid is amazing Even jupyter notebook and pygame also we use but I want to say about Terminal that in terminal you cant do such things, which a computer terminal can give. BTW thanks for replying
Youssef Atta'i yes, you have to root your device.
In current world most of users use android, so you can use Termux, but the full features and enviorment you can only get in PC or laptop 😊😊
I have no idea, what are you saying. I am no snake user. You cant load some libraries with python? Just install them as you normally do in terminal, works fine with ruby gems, i bet no problem for python too.
Youssef Atta'i to a certain extent I guess. If you tried to do anything hacky with your phone or just need permissions to certain things you'll have to root.
Termux is cool...no root needed for intermediate level usage
Thank you, Jan
import os os.system("pip install somepythonmodule") This actually ran with no problems on android, so can I just use os.system() as if it was the windows cmd, without rooting or installing any apps?
Maxwell Anderson Thank you, Maxwell
All Android devices that I've ever used have had a shell. It usually defaults to the minimal sh shell program. The shell is accessible over the Android Debug Bridge (ADB). Jack Palevich's Terminal Emulator for Android accesses the device shell. Termux, on the other hand, installs it's own utilities and shell. Termux is more like a chroot jail
I don't know much about Linux and shell related stuffs. But yes, I do use termux, and some of the commands need permissions (messaging/ photo) which are asked only if you run a command that would involve these stuffs. There are many youtube tutorials you can refer to.
Jan Markus isn't command promt is windows thing? Youre right about termux, as im sure you could install any other console. As phones are linux, wraped with android, so as linux desktops are wrapped in kde, gnome and called ubuntus, debians and so so...
Marketn in low and loure
Rishi full features and environment like?
Rishi I actually tried using tkinter on android using Pydroid3 and it worked, that's one reason I feel like it's sometimes possible to treat android like windows. also, take a look at this: import os os.system("date") this shows date and time on both windows and android.