Issue 704194: Problems printing and sleep (original) (raw)
Issue704194
Created on 2003-03-15 17:19 by zepplin, last changed 2022-04-10 16:07 by admin. This issue is now closed.
Messages (3) | ||
---|---|---|
msg15136 - (view) | Author: ross (zepplin) | Date: 2003-03-15 17:19 |
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. | ||
msg15137 - (view) | Author: Neal Norwitz (nnorwitz) * ![]() |
Date: 2003-03-19 00:55 |
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! :-) | ||
msg15138 - (view) | Author: Brett Cannon (brett.cannon) * ![]() |
Date: 2003-06-08 21:48 |
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. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-10 16:07:40 | admin | set | github: 38166 |
2003-03-15 17:19:44 | zepplin | create |