Giter Club home page Giter Club logo

atm-system's Introduction

ATM Simulator

This project simulates an ATM (Automated Teller Machine) system. It includes a GUI (Graphical User Interface) and a backend system that handles transactions such as withdrawal, deposit, balance inquiry, and more.

Project Structure

The project is structured as follows:

  • bank.py: This file contains the Bank class which handles all the banking operations like withdrawal, deposit, balance inquiry, etc. It also contains the CODE class which is used for handling operation status codes.
  • GUI.py: This file contains the ATM class which is responsible for the graphical user interface of the ATM. It includes methods for displaying images, text, and handling user input.
  • storage.py: This file contains the JSONStorage class which is responsible for reading and writing account data to a JSON file.
  • safe.py: This file contains the SAFE class which is responsible for dispensing cash in the ATM.
  • models/: This directory contains the Account and Transaction classes which are used to represent bank accounts and transactions respectively.
  • utils/: This directory contains utility functions and classes.
  • icons/: This directory contains the images used in the GUI.

How to Run

To run the project, execute the GUI.py file. This will start the ATM simulator.

Features

The ATM simulator supports the following operations:

  • Withdrawal: The user can withdraw money from their account.
  • Deposit: The user can deposit money into their account.
  • Balance Inquiry: The user can check their account balance.
  • Transfer: The user can transfer money to another account.
  • Change PIN: The user can change their account PIN.
  • Print Receipt: The user can print a receipt of their last transaction.
  • Eject Card: The user can eject their card and end the session.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.