This is a simple phone book project with python3 written by Armin Nasirfam
- Make sure you have installed :
python3
&pip
, - Clone the project :
git clone https://github.com/armiin98/phone_book.git
. - Go to the project directory :
cd phone_book
, - Install requirements :
pip install -r requirements.txt
, - Run programme :
python myphonebook.py
>> Test's informations:
+====+===============+===============+==============================+========================================+
| ID | CONTACT NAME | PHONE NUMBER | E-MAIL | ADDRESS |
+====+===============+===============+==============================+========================================+
| 1 | home | 1111 | test@info.com | Iran |
+----+---------------+---------------+------------------------------+----------------------------------------+
| 2 | work | 1234 | test@test.com | Tazbriz |
+----+---------------+---------------+------------------------------+----------------------------------------+
~MENU~
1) READ ALL CONTACTS
2) ADD A CONTACT
3) DELETE A CONTACT
4) SEARCH A CONTACT
5) EDIT A CONTACT
6) SAVE CHANGES
7) Exit
Please Select An Option:
command line options
positional arguments:
name Show contact information by name. E.g : myphonbook.py [CONTACT NAME]
optional arguments:
-h, --help show this help message and exit
-v, --verbosity Show more information from contacts {Can not be used with [-A]}
-A Show all contact numbers
-n NUMBER, --number NUMBER Show contact information by number