Re: [Tutor] using the loop function while another

2012-10-09 Thread eryksun
On Tue, Oct 9, 2012 at 7:39 PM, Alan Gauld wrote: > > another=input('Do you have another book to order for this student?', > '\nEnter y for yes: ') Remove the comma, and this will parse correctly. A comma in a function call is used to separate arguments. On its own a comma creates

Re: [Tutor] using the loop function while another

2012-10-09 Thread Alan Gauld
On 09/10/12 20:47, Amanda Colley wrote: Ok, here is my problem. If a person has two different people to order books for, then when using the loop option, How do you add the two seperate choices together for a final total of books cost? This looks a bit like it might be homework so I won't a

Re: [Tutor] using the loop function while another

2012-10-09 Thread Prasad, Ramit
Mark Lawrence wrote: > On 09/10/2012 20:47, Amanda Colley wrote: > > Ok, here is my problem. If a person has two different people to order > > books for, then when using the loop option, How do you add the two seperate > > choices together for a final total of books cost? > > > > another='y' >

Re: [Tutor] I am learning python3 and would like some more python3 modules/programs on my...

2012-10-09 Thread Prasad, Ramit
frank ernest wrote: > version python3.2 linux > I am learning python3 and would like some more python3 modules/programs on my > computer to look at and work with > to learn more about python3. I have read the tutorial and some of the > complete language reference. I can't tell > from the package

Re: [Tutor] using the loop function while another

2012-10-09 Thread Mark Lawrence
On 09/10/2012 20:47, Amanda Colley wrote: Ok, here is my problem. If a person has two different people to order books for, then when using the loop option, How do you add the two seperate choices together for a final total of books cost? another='y' while another=='y' or another=='Y':

[Tutor] using the loop function while another

2012-10-09 Thread Amanda Colley
Ok, here is my problem. If a person has two different people to order books for, then when using the loop option, How do you add the two seperate choices together for a final total of books cost? another='y' while another=='y' or another=='Y': choice() another=input('Do you

[Tutor] I am learning python3 and would like some more python3 modules/programs on my...

2012-10-09 Thread frank ernest
version python3.2 linux I am learning python3 and would like some more python3 modules/programs on my computer to look at and work with to learn more about python3. I have read the tutorial and some of the complete language reference. I can't tell from the package index whats a python3 module/p

Re: [Tutor] Saving GUIs

2012-10-09 Thread Alan Gauld
On 09/10/12 17:27, tayo rotimi wrote: Please do not reply to an existing thread to create a new topic. Send a fresh email to tutor@python.org. Using an existing one means your messages get inserted amongst messages for the original thread making them hard to find and follow the thread. I ha

Re: [Tutor] Saving GUIs

2012-10-09 Thread Dave Angel
On 10/09/2012 12:27 PM, tayo rotimi wrote: > Hi, > > > I have started creating GUIs. But my current challenge now is saving the GUIs > created. I have observed that > whenever I close the console, the GUIs also get closed. So, please what do I > need to do to save the GUIs, or call them back whe

[Tutor] Saving GUIs

2012-10-09 Thread tayo rotimi
Hi, I have started creating GUIs. But my current challenge now is saving the GUIs created. I have observed that whenever I close the console, the GUIs also get closed. So, please what do I need to do to save the GUIs, or call them back when next needed, if they don't actually get extinguishe

Re: [Tutor] Why difference between printing string & typing its object reference at the prompt?

2012-10-09 Thread eryksun
On Mon, Oct 8, 2012 at 10:35 PM, boB Stepp wrote: > > I am not up (yet) on the details of Unicode that Python 3 defaults to > for strings, but I believe I comprehend the general concept. Looking > at the string escape table of chapter 2 it appears that Unicode > characters can be either 16-bit or