Home >Software Tutorial >Computer Software >How to create a new python program in mBlock5_How to create a new python program in mBlock5

How to create a new python program in mBlock5_How to create a new python program in mBlock5

WBOY
WBOYOriginal
2024-06-02 15:29:09955browse

Have you encountered any problem on how to create a new Python program when using mBlock5 mBlock5? PHP editor Apple has specially prepared this tutorial for you, introducing the detailed steps of mBlock5 to create a new Python program. In this tutorial, you'll learn how to create a new Python project, configure your program environment, and write and run Python code. Hurry up and continue reading to explore the Python programming world of mBlock5 mBlock5!

First open mBlock5 mBlock5, click the [Python Editor] button in the upper right corner of the window to enter the Python programming mode.

How to create a new python program in mBlock5_How to create a new python program in mBlock5How to create a new python program in mBlock5_How to create a new python program in mBlock5How to create a new python program in mBlock5_How to create a new python program in mBlock5

#Then click [File]-[New Work] to create a new Python file.

How to create a new python program in mBlock5_How to create a new python program in mBlock5

Then enter print ("Hello World!") on the first line of the file.

How to create a new python program in mBlock5_How to create a new python program in mBlock5

Finally click the [Run] button. If the program does not report an error, the running results will be output.

How to create a new python program in mBlock5_How to create a new python program in mBlock5How to create a new python program in mBlock5_How to create a new python program in mBlock5

The above is the detailed content of How to create a new python program in mBlock5_How to create a new python program in mBlock5. 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