i have a basic window using tkinter with a button
that opens hello message

but before the hello message i want it to run a basic python script the exit the script then show the message

Code:
import Tkinter
import tkMessageBox

top = Tkinter.Tk()

def FstartCallBack():
   tkMessageBox.showinfo( "Action Complete", "Activated")

B = Tkinter.Button(top,
...