Mu has a “Mode” button which can be used to write Python, MicroPython and CircuitPython. Mu has one feature that elevates it above other beginner editors. If you are starting out with Python, Mu is an excellent choice to introduce the language. Modules are libraries of code that can be used to add new features, for example RPi.GPIO and GPIO Zero are modules that enable Python to talk to the Raspberry Pi GPIO. This is where the ease of Mu works against it, as there is no means to install Python modules. The default is to write Python 3 code, to be run on our machine. It can output the results of our code and it can be used to access the REPL. Make sure you have backed up all data you want to keep before continuing. Be aware that this will erase all data on the drive. If you have multiple hard drives or a hard drive with multiple partitions, select the partition you want to install Windows on and click Delete. Choose the Create installation media (USB flash drive, DVD, or ISO file) for another PC option and click Next. Select a drive or partition you want to install Windows on and click Delete. Click Accept in the Applicable notices and license terms window. Next, open the downloaded Media Creation Tool. A builtin checker and tidy application will check and format your code using Python style guidelines. Connect a USB drive, with at least 8 GB storage capacity, to your PC. We can zoom in and out of the code, useful when presenting to large groups. A plotter can be used to visualize data via a graph. The Python Shell (REPL, Read, Eval, Print, Loop) is available to test ideas. Large icons and clear text identify the function of each button.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |