Re: [Tutor] FW: Fwd: (no subject)

2013-03-30 Thread Amit Saha
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

Re: [Tutor] FW: Fwd: (no subject)

2013-03-30 Thread Amit Saha
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

Re: [Tutor] FW: Fwd: (no subject)

2013-03-30 Thread Amit Saha
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

[Tutor] Fwd: (no subject)

2013-03-30 Thread Amit Saha
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.'

Re: [Tutor] (no subject)

2013-03-30 Thread Steven D'Aprano
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

Re: [Tutor] (no subject)

2013-03-30 Thread Amit Saha
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

[Tutor] (no subject)

2013-03-30 Thread Soliman, Yasmin
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

Re: [Tutor] Tkinter Documentation

2013-03-30 Thread Alan Gauld
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

Re: [Tutor] Tkinter Documentation

2013-03-30 Thread Mark Lawrence
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

[Tutor] Tkinter Documentation

2013-03-30 Thread Clyde Wilson
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