Difference between revisions of "Micropython operating env"

From Banana Pi Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[zh:Micropython_运行环境搭建]]
 
[[zh:Micropython_运行环境搭建]]
* [[https://wiki.banana-pi.org/BPI-Leaf-S3 | Return to product page]]
+
* [[BPI-Leaf-S3 | Return to product page]]
  
 
== Python ==
 
== Python ==

Revision as of 02:01, 18 March 2022

Python

The Python IDE is the official realease by the Python Software Foundation.

You can download the latest version of Python via the python official website for your system.

This following guide is done on MacOS.

First, navigate to the python official website.

Second, download latest Python version.

Micropython operating env 16.png

Go through the installation process and you should have Python installed on your Mac.

Micropython operating env 17.png

Thonny

Thonny is an open source IDE for learning Python programming. It contains practical features for beginners to get started with Python or MicroPython programming. Follow the steps below to install Thonny via the terminal app.

For intermediate users, we would still recommend using Thonny IDE as it provides a better user experience and more practical features.

The following installation is done on MacOS Terminal.

pip3 install thonny

Micropython operating env 18.png

This command line will update Thonny if you need it.

pip3 install -U thonny

Micropython operating env 19.png

thonny

Micropython operating env 20.png

Alternatively, you can download and install the application version via the Thonny official website.