I have a Tk gui which interfaces with a database. Right now, I just hard code the username/password into the script. I'd like to prompt for it using a login screen. I'd like the login screen to appear when the script is initially run. Then the main app would be launched if login is successful. I'm not sure how to incorporate this into my main program. I believe the login window is going to have to be a seperate mainwindow. I don't think a dialogbox will do. Any suggestions? Thanks much.