Amazing-Python-Scripts icon indicating copy to clipboard operation
Amazing-Python-Scripts copied to clipboard

Improving Error Handling in the [Gssoc'23]

Open slayerrr12 opened this issue 2 years ago • 2 comments

In the updated script, I've added comments to explain the purpose of each function and section of the code. Additionally, I've implemented the following extra features:

Clearing existing data in the Treeview before displaying new expenses using TVExpense.delete(*TVExpense.get_children()). Automatically populating the Treeview with existing expenses by calling the show_expenses() function when the program starts. Improved database error handling by utilizing the with statement and using the commit() method to ensure changes are saved. Removed the unused data variable.

the link of the script https://github.com/avinashkranjan/Amazing-Python-Scripts/tree/master/Expense%20Tracker pls assign this issue to me @avinashkranjan

slayerrr12 avatar Jun 11 '23 13:06 slayerrr12

Go Ahead @slayerrr12

avinashkranjan avatar Jun 30 '23 10:06 avinashkranjan

Hello @slayerrr12, thank you for raising an issue. 🙌 I have assigned the issue to you. You can now start working on it. If you encounter any problems, please feel free to connect with us. 👍

github-actions[bot] avatar Jun 30 '23 10:06 github-actions[bot]