[Tutor] text files

2013-01-15 Thread Gina
I have version 3 I am trying to read a text file ("the_file.txt") and then write a new file where the characters are in uppercase but i don't know how/where i should use the .upper I think i should use it where the ** is, but i got errors when i tried that text_file = open("the_file.txt

[Tutor] reading from text files

2013-01-15 Thread Gina
I have version 3 I am trying to read a text file ("the_file.txt") and then write a new file where the characters are in uppercase but i don't know how/where i should use the .upper I think i should use it where the ** is, but i got errors when i tried that text_file = open("the_file.txt

[Tutor] I cant fix this bug

2012-12-18 Thread Gina
I have Python version 3. when the program begins, it prints out the main menu and then asks you for your choice - just like it is supposed to you enter your choice, and the next menu pops up, and below the menu it says "None" on the line before your next choice is asked for i dont know why it d

[Tutor] What does a \ do?

2012-09-23 Thread Gina
What does a \ do? ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

[Tutor] casting

2012-09-23 Thread Gina
what is casting? ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] I don't know why this program doesn't run

2012-09-21 Thread Gina
09/21/2012 08:09 PM, Gina wrote: On 9/21/2012 6:47 PM, Dave Angel wrote: On 09/21/2012 07:34 PM, Gina wrote: I don't know why this program doesn't run, but if you know, please tell me. -thanks So what happens when you try? "Doesn't run" covers a multitude of possibil

[Tutor] I don't know why this program doesn't run

2012-09-21 Thread Gina
I don't know why this program doesn't run, but if you know, please tell me. -thanks #adds extra fees to the base price of a car. print( """ Car Salesman Totals the base price of a car with all other fees. Please enter the requested information, and don'

Re: [Tutor] drawing a face

2005-09-30 Thread Harper, Gina
Looks like you misspelled circle... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 30, 2005 12:19 PM To: tutor@python.org Subject: [Tutor] drawing a face Hello I am trying to draw a basic face with eyes, nose, and a mouth. I keep receiving

Re: [Tutor] Using join instead of string.joinfield

2005-08-23 Thread Harper, Gina
Easy. Suppose you want to join a list of words with hyphens. >>> a_list = ['this', 'is', 'a', 'list', 'of', 'words'] >>> sep_char = '-' >>> print sep_char.join(a_list) this-is-a-list-of-words >>> *g* -Original Message- From: Bernard Lebel [mailto:[EMAIL PROTECTED] Sent: Tuesday, August