#🔒 Tkinter booking system

15 messages · Page 1 of 1 (latest)

sharp salmon
#

I’m not sure where to begin, but I think I’ll need to use Tkinter for this project. I want to create a booking system where staff members can add types of exercises they offer, which can be typed into the system for each day of the week (Monday to Sunday). There should also be a limit of 15 users per class.

autumn sphinxBOT
#

@sharp salmon

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

faint quarry
#

This is pretty broad, but ya, you probably want Tkinter. If you need to persist the bookings across program runs, you'll also want a database like SQLite (which Python has builtin support for).

sharp salmon
#

I was gonna use like pickle files cause its my nea and I get in trouble for using SQLite

#

But idk how i would design it tho

faint quarry
#

You got in trouble for using a database previously?

sharp salmon
#

Ye the my teacher said i would barley get an D for using SQLite

faint quarry
#

That's very strange because an actual database is a far better option for storing data when you're querying it.

#

I don't think I can help with Pickle, but the actual data storage medium is largely irrelevant. Ideally, that can be swapped out without impacting too much of the code.

pulsar ermine
faint quarry
#

Ah, that's a good point. They might want a server database for the experience of setting it up and such.

smoky pike
#

if SQLite is barely a D, pickle should be barely a E, if not a straight F in my book

#

teachers... so out of touch with real life

autumn sphinxBOT
#
Python help channel closed for inactivity

This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.