Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Pieter-Andries van der Berg
7,468 PointsProject Ideas Python
Hello Community,
Im busy with a school assignment and they want me to make a python program based on a set of requirements so far i couldnt come up with anything, Maybe someone have some nice ideas for me :) .
Requirements: You read / write at least 1 file and use exception handling your program needs to be object oriented you use pickling at least 1 times with an object build a network program (there is a client and a server) correct use of multi-threading.
if someone has an idea or could help me think of something let me know pls :) you would help me big time!
3 Answers
Steven Parker
243,215 PointsHere's one idea, an app to dispense lottery (or casino "keno") tickets:
- a file is read that contains the drawing time to determine if tickets can still be sold
- an attempt to select improper numbers (duplicate or out-of-range numbers) causes an exception
- the ticket is represented internally as an object
- the object is "pickled" and recorded in a file when a ticket is sold
- multi-threading allows simultaneous purchases by multiple customers
Josh Keenan
20,315 PointsI'd say checkout r/pythonprojects2, it should have some ideas for you, or at least a load of people who could have some
Pieter-Andries van der Berg
7,468 PointsThanks so far for the comments :)