devpack / android-python27 Goto Github PK
View Code? Open in Web Editor NEWEmbed Python 2.7 (3.2 and others) interpreter and your scripts into an Android APK
Embed Python 2.7 (3.2 and others) interpreter and your scripts into an Android APK
I have look throgh all the wiki of android-python27 on code google site, must we write Python scripts with by using SL4A? Can we just write Python which get some data and pass to Android Activity for future use?
I tried to install the apk in my android device (API 21).
The files unzip with success but when it tries to chmod it fails. For example:
Unzip extracted /storage/emulated/0/com.android.python27/extras/python/xml/etree/ElementPath.py
01-18 17:08:54.403 20996-21039/com.android.python27 W/FileUtils: Failed to chmod(/storage/emulated/0/com.android.python27/extras/python/xml/etree/ElementTree.py): android.system.ErrnoException: chmod failed: EPERM (Operation not permitted)
These happens for all python extras. When I try to install the apk in my another android (API 16) device it chmod with success. Is there a way to solve this issue?
Ladies and Gentleman,
I've resurrected this project. If you are still interested check out my fork.
https://github.com/ainsophical/droid-python
Update: Now runs on Android >= 5.0
How can I pass String value from EditText In Android Activity to Python Script and also make the activity able to retrieve the String result from a function in the python script such as displaying the retrieved String in TextView ?
The sample apk here didn't clear any thing about this point .
thanks
while I was testing apk project or apk_python32 project in eclipse IDE, An error occurred.as follows:
Archive for required library: 'libs/armeabi/libcom_googlecode_android_scripting_Exec.so' in project 'apk_python32' cannot be read or is not a valid ZIP file
我问一下能不能把python编译器加上一些包比如requests等等封装到位的app上 然后可以执行.py文件或者单行代码 你这么怎么用呢
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.