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

Python

Tomas Pavlik
Tomas Pavlik
26,726 Points

My first Python app :-)

Hi everyone, yesterday I finished object oriented python course with Kenneth Love and today started with my own app. Because one of my hobbys is collecting banknotes, I created a simple app for collectors. I know it's not perfect, I know I will have to do some improvements, I have to solve data persistence etc., but... It's my first python app and I am pretty proud of it. Here's the link to my collector app.

I appreciate any feedback :-)

Hmm... feel like real developer :-)

Tomas

7 Answers

Tomas Pavlik
Tomas Pavlik
26,726 Points

BTW I am very sorry for my English but I hope it's understandable :-)

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,858 Points

Hey Tomas,

Good job! :)

Just one thing, when I tried to input the value of the banknote using a floating point (e.g. 1.06), I got an error. So, you may want to use float instead of int.

def get_value(self):
    value = input("Value: ")
    value = float(value)

Nice Work. Keep Coding! :dizzy:

Tomas Pavlik
Tomas Pavlik
26,726 Points

Hey Jason, thank you cery much for your response, I will fix it as soon as possible. I am also working on data persistence - writin only in txt files. It' really exciting to improve my own app :-)

Tomas

Tomas Pavlik
Tomas Pavlik
26,726 Points

Here is slightly improved version of my app: Banknotes collector app I did not know how to solve the data persistence and used reading and writing into txt files. I do knot kwno why, but I had to use another class (Saved_note) to read saved data. When I used Note() class, the result was a list of objects saved into txt files.. About the value - it seems to be ok, I meant nominal value of the banknote and this should be integer value I believe. Maybe I didi not described it accuretly, that is because my poor English :-( There is still lot of work on this app, but I am very happy that I am building something useful :-)

Nic weekend to all coders and teachers! :-)

Tomas Pavlik
Tomas Pavlik
26,726 Points

I keep learning with Kenneth about Dates and Times in Python and added a new funcionality to my app - the date of data saving :-) The learning is really more fun if I am building something real..

Have a look: Banknote collector app

Tomas Pavlik
Tomas Pavlik
26,726 Points

After finishing the regular expression course with Kenneth Love, I slightly improved my first python app. The use of regex is a bit primitive in my app, but it works!!! Feelin excited :-) Type python mynotes.py to test the app of you want. Thanks for any feedback and sorry for my English :-)

Tomas Pavlik
Tomas Pavlik
26,726 Points

I am about to study databases in python, which seems to be a bit complicated... Meanwhile I slightly improved my little first app - users can now delete data saved in txt file - not a comfort solution but it works... btw I'd like the app not to run only in command line, so I need to add some graphics. Any suggestion which module to use?

Thanks for help :-)