Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python on android [duplicate]

Besides the official pygame port to android which requires python 2.7.1 which I like 3.4.1 better. Also besides Kivy, what is a way to put pygame or another python module on android?

like image 887
HKVariant Avatar asked Nov 08 '14 15:11

HKVariant


People also ask

Is it possible to run Python on Android?

Python can run on Android through various apps from the play store library. This tutorial will explain how to run python on Android using Pydroid 3 – IDE for Python 3 application. Features : Offline Python 3.7 interpreter: no Internet is required to run Python programs.

Can Android apps convert Python code?

You can convert your Python Code to Android APK.

How do I open a .PY file on Android?

py file! Enter some code here, then go to: Run > Run Module. You'll be prompted to save your file as a module (a compact piece of Python code that can be run from other scripts) and from there, your app will run! That is how to run Python files.

Can we copy paste code in Android Studio?

This supports copying application shortcuts. To copy data, you create an Intent, put it into a clip object, and put the clip object onto the clipboard. To paste the data, you get the clip object and then copy the Intent object into your application's memory area.


1 Answers

If you're looking for ways of running Python on Android, I'd use Android Scripting. It provides support for python 2.x and exposes API's for calling hardware features on your droid. Note it is in an early state of development so I wouldn't use it for anything in production.

like image 199
David Smith Avatar answered Sep 21 '22 06:09

David Smith