Joke Collection Website - Public benefit messages - Linux sends short messages
Linux sends short messages
Qpython is a python engine that can only run on Android system. Compared with $ Termux, QPython can operate in a full graphical interface, which is very friendly. There is a built-in Python editor, which can write Python code directly on the mobile phone, and supports indentation, syntax highlighting and other functions.
There is also a built-in ftp, which can easily copy py files on the computer and run them on the mobile phone. Because of the built-in SL4A, it is convenient to call some APIs of Android operating system to do some interesting things, such as getting the geographical location of the mobile phone, turning on Bluetooth, sending short messages, turning on the camera of the mobile phone and so on.
Blowing water for a while, the installation and use steps are described in detail below.
There are two versions of QPython, one is that QPython supports python2.7, and the other is that QPython3 supports Python3, but I have tested it, and it seems that QPython supports python3 at present. Here I introduce QPython3, which supports more Android features.
The official installation package of APK is on github/qpython-Android/qpython3/releases. Just download the latest qpython3-app-release.apk and install it.
However, it is also available in the domestic mobile phone Android application market. You can directly search qpython, which is published by a Beijing company. It is not clear what the relationship between this company and QPython is.
The installation was successful, and it was like this after opening the QPython APP.
You can see that there are six icon modules.
1, terminal:
This is the standard for programming IDE, which can execute some code fragments, but it is still very troublesome to write code on the mobile phone.
2. Edit:
There is a picture on it. You can create or modify a py file, and then click the triangle at the bottom to execute it. Please note that this file should be saved as a. py suffix.
3. Procedure:
There are some program examples for your reference, such as how to turn on Bluetooth, how to turn on the camera, and how to synthesize speech (from speech to text). ).
4、QPYPI:
A smaller version of pypi, Python third-party libraries can be installed through QYPI.
5. Courses:
6. Community:
Both the course and the community have to enter the official community, because they want to visit facebook, so they can't open it.
How to transfer a computer py file to a mobile phone?
QPython has built-in ftp. After clicking the ftp service, as long as the ftp client is installed on the computer, files can be directly transferred to the mobile phone without modifying the storage directory.
Of course, you can also transfer files between your computer and your mobile phone in a familiar way. Files or folders can be stored in /qpython/project3/.
In addition, there is an interesting way to transmit code in QPython: scanning QR code to transmit code. Python code on the computer is generated as a QR code. Scanning the QR code with qpython app on the mobile phone will generate the code directly on the mobile phone. This feature is not available in QPython3.
PS: A QR code can hold 1850 letters at most, so the great py file cannot be transmitted.
What can QPython do?
1)Web development supports django and flask Web development. Of course, you need to install django and flsak, and you can also write python crawler, but the running efficiency is very low.
2) Game development, using pygame to develop mobile games.
3), app development, you can develop mobile apps.
As mentioned above, you can change the alarm clock, calendar and other apps on your mobile phone into your own, and they are all developed in python.
To develop an app with python, kivy should be installed to support it, because only java programs can run on Android, so configuring kivy is also a hassle. You can take an article as an example and study it yourself if you like.
- Previous article:202 1 year college admission result time
- Next article:How long will it take to receive the letter sent to the detention center?
- Related articles
- Where can I check the epidemic risk level?
- Someone called me on my cell phone and told me it was from the street drug control office. Is it true?
- How does WeChat send short messages in groups?
- Is the payment of Netcom Group credible?
- Marketing SMS harassment complaint
- Short full moon blessings for friends and children in 2020
- Say good night to the girl you like.
- How does the King Glory Assistant delete the message list and clear the memory?
- Why do you receive a text message that is not your home appliance card?
- What's with the takeaway coupons?