I am creating a new class and saved the data to a .py file.
I read that I could call that class from such file using the machines module.
I am using Anaconda Spyder and it seems there is no such module. moreover, where I read it seems the author of the article is using ‘MicroPython’.
see code below. Notice that ‘tests’ is the name of my .py file containing the class code
thank you.
from machine import tests