pip3 install shortcut shortcut mu-editor
Hi Everyone, Question about RUN and "Stop".. Running Win10, ESP32. What is the best way to STOP running code?? (D id there used to be a STOP button?)
MPY: soft reboot
raw REPL; CTRL-B to exit
(THEN DISPLAYS any PRINT from code)
How to STOP??
I click REPL and code stops, and full editor window displayed
I click REPL again and REPL displays, showing the (POWERON_RESET ... down to >>> prompt)
@tjguk:matrix.org : Thanks for the clear reply. Hmm.. I am working with a program that will have about 150 elementary-middle school kids with no coding experience, learning Python in an online environment : example:( https://hourofpython.trinket.io/a-visual-introduction-to-python#/welcome/an-hour-of-code) That's great to start.. But I am working on a project that bridges those kids AFTER they really learn some Python, to Python3 and MicroPython(esp32) using mu. And that trinket thing charges $3 per seat per month for Python3 and Pygame etc. OpenSourceRules!
I will try to get the first-phase of online students to tell us what their home computer hardware is. Hmm is there a good online app that will do that for an online user?? So I hope to have a better perspective on the need to a 32-bit installer. Not QuickCritical.
Thanks and let me know what you think...
import math class Object: def __init__(self, x, y, z): self.x = x self.y = y self.z =z Volume = x * y * z print(Volume) def area(self): Area = self.x * self.z print(area) eObject = Object
ERROR: Could not find a version that satisfies the requirement pygame<2.0,>=1.9.2 (from pgzero)
Area = self.x * self.zbut then
print(area)I think you should change
areaand you'll get a result printed. Also, you may also want to just
return area. When you instantiate the object it should look like this:
eObject = Object(x=3, y=4, z=5)etc...