Home  >  Article  >  Backend Development  >  How to write python on ipad

How to write python on ipad

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-06-18 11:44:4234092browse

ipad or mobile phone supports python code writing, so that we no longer have to stay in the office or sit at home in a serious manner. Let us write code more casually. When we write some lightweight code, we can do it anytime and anywhere.

How to write python on ipad

So how to write python code on iPad? Here we recommend two software for different platforms.

iOS platform: Pythonista

How to write python on ipad

Pythonista comes with automatic association, making it easier to type code on the mobile terminal.

Related recommendations: "Python Video Tutorial"

How to write python on ipad

It is worth mentioning that the author has developed a set of libraries built into Pythonista inside, allowing Python syntax to call native controls on iOS.

For example, this clock with more than 40 lines of code:

How to write python on ipad

For example, the brick-breaking game full of childhood memories:

How to write python on ipad

In your spare time, you can take a look at how these small projects are written. Although Pythonista charges 68 yuan, it is worth the money.

Android platform: Termux

How to write python on ipad

##Android mobile phone system is based on the Linux kernel, so you can use the terminal Class software to "enter" the core of the mobile phone.

It is similar to the terminal on the computer. For example, if you enter ls, you can see all the files in the current directory.

How to write python on ipad

Enter python to enter the python environment, and the effect is better with the CodeBoard programming keyboard. (Use pkg install python to install python)

How to write python on ipad

There is no pressure to install the library. Enter pip install ptpython to install it.

How to write python on ipad

The above is the detailed content of How to write python on ipad. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to open python3Next article:How to open python3