محیط برنامه نویسی پایتون برای اندروید
نویسنده : محمد پارسایی | زمان انتشار : 26 اسفند 1400 ساعت 01:24
جهت انجام پروژه های دانشجویی و یا تمرینهای برنامه نویسی رشته کامپیوتر میتوانید به آی دی تلگرام زیر پیام دهید
@AlirezaSepand
# About QPython 3L
QPython is the Python engine for android. It contains some amazing features such as Python interpreter, runtime environment, editor, QPYI and SL4A library. It makes it easy for you to use Python on Android. And it's FREE.
QPython already has millions of users worldwide and it is also an open source project.
For different usage scenarios, QPython has two branches, namely QPython Ox and 3x.
QPython Ox is mainly aimed at programming learners, and it provides more friendly features for beginners.
This is the QPython 3L, it is mainly for experienced Python users, and it provides some advanced technical features.
# Amazing Features
- Offline Python 3 interpreter: no Internet is required to run Python programs
- It supports running multiple types of projects, including: console program, SL4A program, webapp program
- Convenient QR code reader for transferring codes to your phone
- QPYPI and a custom repository for prebuilt wheel packages for enhanced scientific libraries, such as numpy, scipy, matplotlib, scikit-learn etc
- Easy-to-use editor
- INTEGRATED & EXTENDED SCRIPT LAYER FOR ANDROID LIBRARY (SL4A): IT LETS YOU DRIVE THE ANDROID WORK WITH PYTHON
- Good documentation and customer support
# SL4A Features
With SL4A features, you can use Python programming to control Android work:
- Android Apps API, such as: Application, Activity, Intent & startActivity, SendBroadcast, PackageVersion, System, Toast, Notify, Settings, Preferences, GUI
- Android Resources Manager, such as: Contact, Location, Phone, Sms, ToneGenerator, WakeLock, WifiLock, Clipboard, NetworkStatus, MediaPlayer
- Third App Integrations, such as: Barcode, Browser, SpeechRecongition, SendEmail, TextToSpeech
- Hardwared Manager: Carmer, Sensor, Ringer & Media Volume, Screen Brightness, Battery, Bluetooth, SignalStrength, WebCam, Vibrate, NFC, USB
[ API Documentation Link ]
https://github.com/qpython-android/qpysl4a/blob/master/README.md
[ API Samples ]
https://github.com/qpython-android/qpysl4a/issues/1
[ IMPORTANT NOTE ]
IT MAY REQUIRE THE BLUETOOTH / LOCATION / READ_SMS / SEND_SMS / CALL_PHONE AND OTHER PERMISSIONS, SO THAT YOU CAN PROGRAM ITH THESE FEATURES. QPYTHON WILL NOT USE THESE PERMISSIONS IN BACKGROUND.
IF YOU GET EXCEPTION IN RUNTIME WHILE USING SL4A API, PLEASE CHECK WHETHER THE RELEVANT PERMISSIONS IN THE SYSTEM SETTINGS ARE ENABLED.
# How To Get Professional Customer Support
Please follow the guide to get support https://github.com/qpython-android/qpython/blob/master/README.md
[ QPython community ]
https://www.facebook.com/groups/qpython
[ FAQ ]
A: Why can't I use the SMS API of SL4A
Q: Because Google Play and some app stores have strict requirements on the permissions of apps, in QPython 3x, we use x to distinguish branches with different permissions or appstores. For example, L means LIMITED and S means SENSITIVE.
Sometimes you cannot use the corresponding SL4A APIs because the version you installed does not have the corresponding permissions, so you can consider replace what you have installed with the right one.
You can find other branches here:
https://github.com/qpython-android/qpython3/releases
منبع: play.google.com