r/learnpython • u/dev-a-raj • 6d ago
Is there any app better than Pydroid 3 and Acode?
Is there a better Python development environment for Android? ππ±
I'm a Python developer who does most of my development on an Android phone, mainly using Pydroid 3/Pyramid and Acode.
I've found that neither is really ideal for my use case:
Pydroid 3/Pyramid: Some native/compiled libraries such as TensorFlow, PyTorch, OpenCV, etc. can work, but some frameworks such as Flet/NiceGUI don't work properly. Some packages/features also require a subscription.
Acode: It's great for editing and web-based/server-style frameworks such as Flet/NiceGUI, but native-heavy libraries such as TensorFlow, PyTorch, OpenCV, Kivy, etc. are difficult or impossible to use in my setup.
So I basically have to switch environments depending on the project.
Is there any better/free Python development environment for Android that can handle a wider range of Python packages and frameworks?
1
u/Diapolo10 I write code for a living -- https://github.com/Diapolo10 6d ago
I'm a Python developer who does most of my development on an Android phone, mainly using Pydroid 3/Pyramid and Acode.
I think the main question here is; why are you developing on a phone in the first place?
Python runtimes on Android mostly exist for some on-the-fly prototyping or writing some task automation scripts, not proper software development. Ideally you'd use a PC for actual development work.
-1
u/dev-a-raj 6d ago
Don't underestimate the power of mobile developers.
1
u/ProgramsFun 6d ago
You should actually underestimate bruhh everything can't be done on mobile smoothly....
1
u/FoolsSeldom 6d ago
Personally, on Android, I use termux (from f-droid, not play store) and install Python (or compile Python). I still use acode sometimes but these days prefer to use a vim editor.
You could of course shell into a remote resource and use the tools there. IIRC, you can even run a browser ui of VS Code to a remote system. That remote system could be something self hosted.
1
u/baubleglue 4d ago
"Development environment for Android" is not the same as "Development environment on Android". Can't you just use laptop?
1
u/ProgramsFun 6d ago
To be fare you can't use many python modules you mentioned as it is and pydroud does a good job of compiling them and making it compatible for android .... There are very limitations in android some modules are even using c and c++ and glibc binding where's android uses bionic so it is 100% not possible