File: Readme.txt

package info (click to toggle)
pyro 1%3A3.14-5
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 2,048 kB
  • ctags: 1,988
  • sloc: python: 11,194; xml: 128; sh: 52; makefile: 28
file content (30 lines) | stat: -rw-r--r-- 805 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
This is a simple electronic banking example.

There are two banks:-

Rabobank and VSBBank (don't ask - I'm from Holland)
Their services are started with BankServer.py.


The client runs some transactions on both banks (if found), like:-
-creating accounts
-deleting accounts
-deposit money
-withdraw money
-inquire balance

The VSBBank will not allow the client to overdraw and have a negative
balance, the RaboBank will.

Currently the only thing lacking that would make this really useful is
persistence: if the bank offices are closed (i.e. the servers are shut
down), all account information is lost.


This is a nice starting point for your own Pyro projects.

See also the Bank2 example which is more advanced,
and has an interactive client to create accounts, 
and to deposit and withdraw money.