Open-STEM / XRPCode

This is the repository for the full Python/Blockly IDE
GNU General Public License v3.0
0 stars 3 forks source link

import from same directory not working with the . directive #72

Open fgrossman opened 1 year ago

fgrossman commented 1 year ago

When in a subdirectory you should be able to import another file from the same directory by using a . for the directory name.

My guess this has to the way we implement the "main.py" function. Further assumption is the way we set things so that runtime errors print out correctly and in which file.