You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm a beginner and I haven't been able to figure this out. I work in an IDE (VsCode). For the scripts that are kept outside, that is, in the project's root folder; I have them there in the meantime, but I took a unit test which, is inside a folder to test an entire module, and it won't let me call it. The module is in the root folder and the test folder is inside the root folder with the test inside and the init.py to indicate that it's a package. I understand that, for example, I would have to move the test script to the root folder, but the idea is that I can save the test inside a folder and be able to call other modules from other folders without giving me an error, even more so if they are both inside the same root folder.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I'm a beginner and I haven't been able to figure this out. I work in an IDE (VsCode). For the scripts that are kept outside, that is, in the project's root folder; I have them there in the meantime, but I took a unit test which, is inside a folder to test an entire module, and it won't let me call it. The module is in the root folder and the test folder is inside the root folder with the test inside and the init.py to indicate that it's a package. I understand that, for example, I would have to move the test script to the root folder, but the idea is that I can save the test inside a folder and be able to call other modules from other folders without giving me an error, even more so if they are both inside the same root folder.
Beta Was this translation helpful? Give feedback.
All reactions