How to install modules in Thonny Thonny installation module tutorial

WBOY
Release: 2024-08-19 10:32:40
Original
280 people have browsed it

Does anyone know how to install modules in Thonny? Below, the editor will bring you how to install modules in Thonny. I hope it will be helpful to everyone. Let’s follow the editor to learn it! How to install modules in Thonny? Thonny installation module tutorial 1. First open Thonny, click "Tools"->"Manage Plug-ins", as shown in the figure below.

Thonny怎么安装模块 Thonny安装模块教程

2. Then in the "Thonny Plug-in" window, enter: thonny-black-format, then click "Install Package from PyPI". When the description of the module appears, click "Install", as shown in the figure below.

Thonny怎么安装模块 Thonny安装模块教程

3. After the installation is successful, exit Thonny and re-enter. Now, there will be an additional item "Format with Black" in the tool menu, as shown in the picture below.

Thonny怎么安装模块 Thonny安装模块教程

4. Now, the current Python source code can be automatically formatted, as shown in the figure below.

Thonny怎么安装模块 Thonny安装模块教程

The above is the detailed content of How to install modules in Thonny Thonny installation module tutorial. For more information, please follow other related articles on the PHP Chinese website!

source:downza.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template