Importing files to main.py

Question:
I would like to import other .py files to my main.py in this fashin: “from control (the folder) import motorcontrol as mcontrol”
But I can’t seem to import a file which is not in a folder.

Hi @XtheGxmerz0 , welcome back!
If you want to import files that are not in a folder, just do import filename, without the .py extension, like import test for an example, which imports test.py.
Hope this helps!