raw_input()

    def buttonProcessStart(self, sender, args):
        #clear = lambda: os.system('cls')
        #clear()
        if len(self.FilePath) < 5:
            ctypes.windll.user32.MessageBoxW(
                0, "WOWOOWOWOW you must chose the file", "THE FILE", 1)
        else:
            DjangoUnchained = Django(self.FilePath)
            DjangoUnchained.findAllEntropy()

    def buttonPressed(self, sender, args):
        #try:
        #except Exception as ex:
        #print ex
        #raw_input()
        dialog = OpenFileDialog()
        dialog.Filter = "All Files|*.*"
        if dialog.ShowDialog() == True:
            pass
        self.FilePath = dialog.FileName
        self.TextBox.Text = dialog.FileName


Application.EnableVisualStyles()
Application.SetCompatibleTextRenderingDefault(False)

form = MyForm()
Application.Run(form)
 def Main():
     """The main entry point for the application."""
     Application.EnableVisualStyles()
     Application.SetCompatibleTextRenderingDefault(False)
     Application.Run(MainForm())