import threading
from Assistant import Assistant

class Application():

    def __init__(self):
        self.assistant = Assistant()
        self.__run = True

    def Start(self): # Function called once on start app
        self.assistant.GreetingsUser()
        self.assistant.ManageTrash()

    def End(self): # Function called once on end app
        self.__run = False

    def Run(self): # Function called every time on start app
        self.Start()

        # while(self.__run):
        threading.Thread(target=self.assistant.ManageHours).start()
        threading.Thread(target=self.assistant.ManageDownloads).start()

import threading
from Assistant import Assistant

class Application():

    def __init__(self):
        self.assistant = Assistant()
        self.__run = True

    def Start(self): # Function called once on start app
        self.assistant.GreetingsUser()
        self.assistant.ManageTrash()

    def End(self): # Function called once on end app
        self.__run = False

    def Run(self): # Function called every time on start app
        self.Start()

        # while(self.__run):
        threading.Thread(target=self.assistant.ManageHours).start()
        threading.Thread(target=self.assistant.ManageDownloads).start()

# Function called once on start app # Function called once on end app # Function called every time on start app # while(self.__run):