Console calculator v3.0 with operation history and saving in
The third project in the portfolio is an improved version of a console calculator in Python.
Main improvements compared to previous versions:
- Full history of all calculations
- Automatic saving of history to the file `calculator_history.txt` (history does not disappear after restarting the program)
- Command `history` — show history
- Command `clear` — clear history
- Command `exit` — exit the program
- Protection against input errors and division by zero
- Clean, understandable code with comments
Technologies: Python 3, file handling (File I/O)
Link to GitHub:
https://github.com/t3615430-art/python-calculator-v3
This is already quite a serious project for a beginner. Next, I plan to add a graphical interface (Tkinter).
I am ready to take orders for similar scripts or further develop this project.
#python #calculator #python3 #files #history #script #programming
Main improvements compared to previous versions:
- Full history of all calculations
- Automatic saving of history to the file `calculator_history.txt` (history does not disappear after restarting the program)
- Command `history` — show history
- Command `clear` — clear history
- Command `exit` — exit the program
- Protection against input errors and division by zero
- Clean, understandable code with comments
Technologies: Python 3, file handling (File I/O)
Link to GitHub:
https://github.com/t3615430-art/python-calculator-v3
This is already quite a serious project for a beginner. Next, I plan to add a graphical interface (Tkinter).
I am ready to take orders for similar scripts or further develop this project.
#python #calculator #python3 #files #history #script #programming