I have created one file in repl using python and it worked. Now I am trying a second file and it is not working. The key words are not even hot. What do I do to create multiple documents??
Do you have a link to the repl? And did you remember to include the
.py extension for the new file? ;)
@PatriciaMedina For folders (subpackages), you should add an
__init__.py file, for simple cases you can just leave it empty.
Here's a simple example https://repl.it/@masfrost/dice-game
Edit: you don't actually need
__init__.py, but it makes life easier. See here
Honestly, I'd just leave folders and packages alone if I'm just starting out, and just flatly add
.py files on the root directory.