Skip to content
Sign UpLog In
Profile icon

Dennis Ananiev

@DennisAnaniev
Repls
Community
DennisAnaniev
DennisAnaniev
shared a Post
2 years ago
main.py
Hi! Who knows why python execute all only in main.py I created folder chapter 1 and one file inside this called strings.py. But after click Run it doe
Coder100
Coder100
Hello. Repl.it runs main.py by default. You can configure that: create a .replit file: run="python Chapter1/strings.py" Alternatively, you can just import it: import Chapter1.strings `2 years ago
Bookie0
Bookie0
i think you have to import those files. just do from file_name import and replace the file name with the actual file name. the `` means all. happy coding and hope this helps! =)2 years ago