Skip to content

armiin98/phone_book

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phone book

This is a simple phone book project with python3 written by Armin Nasirfam

How to run

  1. Make sure you have installed : python3 & pip,
  2. Clone the project : git clone https://github.com/armiin98/phone_book.git.
  3. Go to the project directory : cd phone_book,
  4. Install requirements : pip install -r requirements.txt,
  5. Run programme : python myphonebook.py

Programme Environnement

>> 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