[Python-bugs-list] [ python-Bugs-704194 ] Problems printing and sleep

SourceForge.net noreply@sourceforge.net
Sun, 08 Jun 2003 14:48:25 -0700


Bugs item #704194, was opened at 2003-03-15 09:19
Message generated for change (Comment added) made by bcannon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=704194&group_id=5470

Category: None
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: ross (zepplin)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problems printing and sleep

Initial Comment:
When I do the following:

gui = input("Whats your name?")
print gui
Sleep(1000)

I can input my name, but the program then closes.  
Are there any includes or return 0's like in C++?  
Could the above code be my entire program?  It 
seems like I need to start or end the program 
somehow...  Well thanks, sorry if the answer to this is 
already here.  I didn't see anything like it.  And where 
are the forums?

Thanks again.

----------------------------------------------------------------------

>Comment By: Brett Cannon (bcannon)
Date: 2003-06-08 14:48

Message:
Logged In: YES 
user_id=357491

Closing as invalid since the OP never responded to Neal's 
question as to whether this was an actual bug or just not 
understanding how 
something worked.

----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2003-03-18 16:55

Message:
Logged In: YES 
user_id=33168

This doesn't appear to be a bug, but that you don't
understand how python works.  Is that correct?  If so, there
are several places to ask for help, including the
comp.lang.python newsgroup, python-help@python.org or
tutor@python.org.  You may also want to visit 
http://python.org/doc/Newbies.html

You can "include" other modules with the import statement. 
There is a return statement similar to C.  The code above
can be your entire program in python.
If this is truly a bug, I'm sorry I misunderstood.  Please
close this bug report if it's not a bug though.  Thanks, and
welcome to Python! :-)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=704194&group_id=5470