I want to show an info window in my python script running on ubuntu. I'm using the following code:
import tkMessageBox
tkMessageBox.showinfo("Say Hello", "Hello World")
This works, but there's an empty window displayed, with the message box on top. How can I get rid of the window and just centre the message box on the screen (window manager is gnome 2)?
This is just to display some info from a command line script (a password which is why I don't want to just echo it to the console).