This function add Address :param file: file object :param adr_work: Address :type adr_work:str :param adr_home: Address :type adr_home;str :return: None
(file,adr_work,adr_home)
| 88 | |
| 89 | |
| 90 | def VCF_adr(file,adr_work,adr_home): |
| 91 | ''' |
| 92 | This function add Address |
| 93 | :param file: file object |
| 94 | :param adr_work: Address |
| 95 | :type adr_work:str |
| 96 | :param adr_home: Address |
| 97 | :type adr_home;str |
| 98 | :return: None |
| 99 | ''' |
| 100 | file.write('item1.ADR;type=WORK:;; ' + adr_work + "\n") |
| 101 | file.write('item2.ADR;type=HOME;type=pref:;; ' + adr_home + "\n") |
| 102 | |
| 103 | def VCF_website(file,website_url): |
| 104 | ''' |