info_firme.py 652 B

1234567891011121314151617181920212223
  1. '''
  2. Created on Apr 21, 2020 @author: vnc-console
  3. '''
  4. from winmentor import (WinMentor,
  5. Mentorutils,
  6. check_list,
  7. file_open)
  8. exclude = ['KRALFA', 'CRH']
  9. head = ['Denumire', 'CF', 'J', 'Adresa', 'Oras', 'Judet', 'Prescurtat', 'Obs']
  10. mentor = WinMentor()
  11. utils = Mentorutils()
  12. office = mentor.filtered_firmlist(headers=head, ban=exclude)
  13. firm_list = utils.gen_txt(file_name=None)
  14. # utils.gen_txt(file_name='lista_cf.txt')
  15. # print(firm_list)
  16. check_list('xlsx/anaf_data', list_=firm_list)
  17. # check_list(file_name='lista_cf.txt')
  18. file_open('xlsx/anaf_data.xlsm')