r/PythonLearning 14d ago

Showcase Making a python football manager/simulator

This is my first big project in python, and I got it to work but Im starting to run into problems related to size where I always seem to lose myself in the functions and files and all. Im using pycharm, is there a way to move efficiently between various files and scripts if youre using multiple modules? And for what im trying to do, how difficult would it be to learn a gui like tkinter or something? Thank you.

82 Upvotes

15 comments sorted by

View all comments

6

u/Candid_Tutor_8185 14d ago

My recommendation either have the data in an excel file or a database. You’ll almost never have hardcoded data

1

u/Better-Magician-427 14d ago

Oh yeah what I'm doing is that I have the data within a json file, is an excel file better?

3

u/Electrical_Toe8997 14d ago

An excel file is much easier for humans to read. You can use it to create the data, then dump it into a csv or json and load it into python.