app.py 582 B

12345678910111213141516171819202122
  1. from automate import Automate
  2. from BussinessLogic import business_logic
  3. from conf import PathConfig
  4. from MACROS import MACROS
  5. Files=[]
  6. Auto = Automate()
  7. #Initializes from the configuration file
  8. Auto.Init()
  9. Path = PathConfig( )
  10. #Get the folder paths to copy from src to dest
  11. #src_folder = Path.get_Original_Path()
  12. #dest_folder = Path.get_Moved_Path()
  13. Auto.copyFiles(Path.Original_Path,Path.Moved_Path)
  14. #Get the files from the dest folder to start the conversion process
  15. Files=Auto.GetFiles(Path.Moved_Path)
  16. for file in Files:
  17. bi = business_logic()
  18. bi.convert_files(file)