Can't run I both VSCode and script

Hi,

I can’t run my Python script both in VSCode and the script that comes with the Challenge.

How are we supposed to import files we create along the way to remove clutter and make a nice folder structure. No matter what I do I get an “ImportError” in either the pushed tests, or in my VSCode.

Hey @mikkel-larsen, could you share screenshots of the commands you ran along with any error messages you’re seeing? That’ll help us troubleshoot more effectively!

I took a look at your code. Here are the minimal changes needed to get it running:

  1. Move the src folder out of the app folder.

  2. Place main.py inside the src folder.

  3. Modified both your_program.sh and .codecrafters/run.sh:

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.