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. A builtin checker and tidy application will check and format your code using Python style guidelines. That’s it, alert message will be displayed after the above step that you need to restart for changes take effect. Now type in CMD, Slmgr rearm (see in the pic below) Step 4. Then CMD Icon will show, right-click on CMD and run as Administrator. We can zoom in and out of the code, useful when presenting to large groups. In your laptop Type CMD in the search box. 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 |