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

SourceForge.net noreply@sourceforge.net
Tue, 18 Mar 2003 16:55:08 -0800


Bugs item #704194, was opened at 2003-03-15 12:19
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=704194&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
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: Neal Norwitz (nnorwitz)
Date: 2003-03-18 19: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