Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 2.2 KB

README.md

File metadata and controls

45 lines (31 loc) · 2.2 KB

AUTOMATIC TELLER MACHINE (ATM) PYTHON

ATM Python GIF Demonstration

Problem 🤔

Object-oriented programming (OOP) is a staple in programming and allows for benefits such as abstraction and code readability. The best way to practice OOP is to develop projects.

Solution 💡

This terminal application utilizes OOP to simulate an ATM. Users can input one of several menu options that correlate to specific functions within the ATM class. Functions include depositing into/withdrawing from checking/savings account and transferring between accounts.

Quick Start ⚡

If you have Docker installed, you can run this application on your own machine with just 2 steps!

Pull the image from Docker Hub

docker pull smhussain5/atm-python

Then run the image as an interactive Docker container

docker run --rm -it smhussain5/atm-python

Technologies Used ⚙

  • PyCharm
  • Python
    • "Locale" module

Challenges 💢

This was a straightforward application, but creating the Dockerfile was troublesome. Because the image was based on Linux distribution (Alpine), I needed to update and set the locale to en_US for the locale module and currency formatting to work.

Insights 💭

I enjoyed developing this application because I was able to practice OOP. As a result, it showed the importance and benefits of incorporating OOP into my projects. This project could be further refactored by using PyTest to ensure proper validation and functioning.

Contact 📲

Static Badge
Static Badge
Static Badge
Static Badge