So, I have a file directory written like this:
def saveGame(type, strings, database="dragonGardensConsoleDB.json"):
with open(database, mode='r') as JSONdb:
... code ...
It works fine in VSCode, but as soon as I run it in the Command Prompt it won't work. Why?
Code:
They are in the same folder, and there is no other files in the folder other than those two.

Please help!