To view a button & hide the other, call .pack_forget() on the button you want to hide & pack() on the button you want to show
test3.py should contains a main() function that returns the new window. if you press 'Abort script' button you should call new_window.destroy(), pack_forget() the current button & pack() the 'run script' button __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
-- http://mail.python.org/mailman/listinfo/python-list