[Tutor] printing a word in a line
Tue, 16 Oct 2001 19:09:43 -0400
Maybe this snippet helps:
line = "Now is the time for all good men to come to the aid of their country"
x = line.split(' ')
How do you know the specific location? Is it a word count?
> tonycervone wrote:
> How do I read a text file and then print the word that is located in a specific location in the first line of that text ? thank you in advance.
1 Court Street, Suite 378
Lebanon, NH 03766-1358