Python Basic job------simulation implementation of an ATM + shopping mall Program

Source: Internet
Author: User

analog Implementation of an ATM + shopping mall program

Job Requirements:

    1. Quota 15000 or Custom
    2. Realize shopping mall, buy things to add shopping cart, call credit card interface Checkout
    3. Can withdraw, handling fee 5%
    4. 22nd monthly Billing, 10th monthly repayment date, overdue, according to the total amount owed 5 daily interest
    5. Multi-Account Login support
    6. Support transfer between accounts
    7. Record monthly daily consumption flow
    8. Provide repayment interface
    9. ATM Record Operation Log
    10. Provide management interface, including adding account, user quota, freezing account, etc...
    11. Decorator for user authentication


  • ## ATM Credit card shopping simulation program## # Author Introduction:*Author: Highland## # Feature Description:Analog implementation of an ATM +Shopping Mall Program Quota 15000 or custom implement shopping mall, buy things to add shopping cart, call Card interface checkout can withdraw cash, handling fee 5%support multi-account login support account transfer record monthly daily consumption flow provides payment interface ATM logging operation log provides management interface, including adding accounts, user quotas, freezing accounts, etc... Decorator directory structure for user authentication: ATM job ├──README├──ATM#ATM Master Directory│├──bin#ATM Execution File directory││├──__init__. py││├──atm_start.py#ATM Main program Execution program│││├──conf#configuration file││├──__init__. py││└──settings.py#not used│├──core#The main program logic is in this directory.││├──__init__. py││├──auth.py#user, credit card, Administrator authentication module││├──log.py#Log Recording Module││├──creditcard.py#credit card module \ Transfer \ repayment \ withdrawal, etc.││├──shopping.py#shopping module \ Mall \ Shopping cart \ Shopping Checkout, etc.││├──main.py#Main logical Interaction program││└──user.py#user module \ create \ lock \ Unlock, etc.│├──db#Database││├──__init__. Py││├──blacklist#User blacklist file││└──user_data#user files, user's various information││└──creditcard#credit card files, credit cards, various information││└──shopping_car#Shopping Cart File││└──shopping_list#Product List File│└──log#Log Directory│├──__init__. Py└──└──water_record#all users, the credit card transaction log
    Program Introduction




Python Basic job------simulation implementation of an ATM + shopping mall Program

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.