User Profile
Collapse
Profile Sidebar
Collapse
cosmere
Last Activity: Sep 5 '23, 08:34 AM
Joined: Sep 5 '23
Location:
-
Linking files
Hello I'm trying to create a basic game in python using OOP style programming. The problem is that I'm not sure how to link my files. I currently have main.py, a game.py and a logic.py. I would like to be able to run everything from my main.py through the start_game method. However if I run the code below I get the following error: TypeError: Main.start_game () takes 0 positional arguments but 1 was given. I'm just a beginner so I'm not sure if I'm...
No activity results to display
Show More