On Sun, Mar 31, 2013 at 1:14 PM, Soliman, Yasmin wrote:
> Yes this does help. I'm going to play around with it a bit, thank you so much
> for your patience and time!
Great. Good Luck!
___
Tutor maillist - Tutor@python.org
To unsubscribe or change sub
On Sun, Mar 31, 2013 at 12:39 PM, Soliman, Yasmin wrote:
> So if it should look like this, it gives error that says Quit is not defined,
> also why does it not recognize the sys import when I run it?
>
> import weekday_string1
> import sys
> while True:
> ryear = raw_input("year= ")
> pri
On Sun, Mar 31, 2013 at 12:51 PM, Soliman, Yasmin wrote:
> yes, your program does work. The problem is if I run that similar statment in
> my program, say I enter the year and for month I write Quit, it says quit is
> not defined. I suppose in this senerio I would have to use the sys.exit()?
Do
Sorry, forgot to have tutor in the CC.
On Sun, Mar 31, 2013 at 12:08 PM, Soliman, Yasmin wrote:
> Sure here it is:
>
> import weekday_string1
> while True:
> ryear = raw_input("year= ")
> print ryear
> if not ryear.isdigit():
> print '\nThank you for using this program! Bye.'
On 31/03/13 12:49, Soliman, Yasmin wrote:
Hello everyone. How can I get a program to stop only when the user enters
'Quit'?
First you need a program that never stops. Most programs automatically stop
when they're done, so you need to have a program which repeats forever. Do you
have that?
T
On Sun, Mar 31, 2013 at 11:49 AM, Soliman, Yasmin wrote:
> Hello everyone. How can I get a program to stop only when the user enters
> 'Quit'?
You would need an "infinite" loop in your program, where you take user
input. Check if the input entered was 'Quit', and only exit/break out
of your loop
Hello everyone. How can I get a program to stop only when the user enters
'Quit'?
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On 30/03/13 23:25, Mark Lawrence wrote:
On 30/03/2013 23:16, Clyde Wilson wrote:
Is there a fairly complete set of documentation on-line for Tkinter?
I'm using Python 3.3 on Windows.
http://docs.python.org/3/library/tkinter.html
This contains links to most of the resources you need but its i
On 30/03/2013 23:16, Clyde Wilson wrote:
Is there a fairly complete set of documentation on-line for Tkinter?
I'm using Python 3.3 on Windows.
http://docs.python.org/3/library/tkinter.html
--
If you're using GoogleCrap™ please read this
http://wiki.python.org/moin/GoogleGroupsPython.
Mark L
Is there a fairly complete set of documentation on-line for Tkinter?
I'm using Python 3.3 on Windows.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
10 matches
Mail list logo