issue
Soldier8905 opened this issue · 8 comments
when ever I run main.py I get an Import error from the sprint.py file say cannot import name 'colors' from 'scripts' (unknown location) cloud you please let me know if I am doing something wrong if so can you let me know so i can stop doing it
ill test, then report back to you
when ever I run main.py I get an Import error from the sprint.py file say cannot import name 'colors' from 'scripts' (unknown location) cloud you please let me know if I am doing something wrong if so can you let me know so i can stop doing it
<--How this was fixed-->
- Run the script in sandbox
- Find the error (file wasn't named correctly)
- Fix the file and run the script again
- IT WORKS
Explination:
The file called Scripts\Colors.py wasn't named correctly... SRY
<3
I'll post a pull request for this later
Also the real problem is that script
directory is not a module. to fix this momentarily @Soldier8905 add a __init__.py file inside of the folder.
@CPScript can you assign me?
sure, also... im not the best at coding and am kinda new (to python, and C#)
its ok. I didn't write code like this for a long time. (lots of my old projects are so messy I scrapped them) This repo actually has some pretty good code in it.