Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help with the way IDLE is running my source

Status
Not open for further replies.

DancingEskimo

Programmer
Feb 21, 2007
1
US
Whenever I run my code through IDLE it waits for me to hit enter before it actually runs but nothing like that is in my coding.

I'm very new to programming I'm just taking a great liking to it and pushing myself to advance in it and am doing a practical application of programming with this project. I just started it and it's already kind of annoying me because it does it randomly (since I have no clue what is making it do it).

I also have another question, how can I make it so that when I run the .py version of it how do I make it so the window that opens up is the focus in Windows, it just opens up and grays out on me. (Which is the same thing my IDLE does when I try to run it through that when I press F5).

Here is my source that I currently have finished it's very simple and is all just questions so I can actually get the information needed from the user to run it.


Code:
from graphics import *
def main():
    print "DKP Parser: Parses <charactername>_eqlog.txt for characters joining and leaving raids," \
          " as well as the times they joined and left."
    print "-------------------------------------------------------------------------"
    print "\n"
    logger = raw_input("What was the characters name you were using create the log file with?  \n")
    logtimes = raw_input("\n\nPlease enter the hour and date raids started. You know you're one of \nthe late nighters.  \n")


main()

Thank you for anything you may be able to help me with.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top