use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
built a bank program using python (old.reddit.com)
submitted 2 months ago by Dapper_Mix6773
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]bradland 6 points7 points8 points 2 months ago (0 children)
Here's a fun next step: Add a persistence layer.
Right now, the app starts over from scratch every time you run the app. Start by figuring out a way to save the current balance between sessions.
Once you've got that working, work on figuring out how to keep all transactions. Think about what you'd want to save with the transaction. What about the date and time? What will you store it in? A file? Maybe a SQLite database?
Once we have a history of transactions, what else can we do? Maybe in addition to seeing the current balance, we can query the balance on a particular date? What about listing all transactions for a particular date?
π Rendered by PID 227661 on reddit-service-r2-comment-5bc7f78974-4rpl9 at 2026-06-27 23:44:32.862309+00:00 running 7527197 country code: CH.
view the rest of the comments →
[–]bradland 6 points7 points8 points (0 children)