change the first character of the line to uppercase in a text file

Scott David Daniels Scott.Daniels at Acm.Org
Fri Jun 26 17:30:14 EDT 2009


powah wrote:
> How to change the first character of the line to uppercase in a text
> file?
Here is an English hint on the above:
     The "How ... file" above is a noun phrase, and is not a sentence,
never mind a question.  Putting a question mark after the noun phrase
does not make that phrase a question.  "Would someone explain to me how 
...file?" would be a question albeit inappropriate here, since you
showed no work.

By the way, that strange sentence structure usually clues me in that
it is you again, apparently someone who does homework by posting to
the list before attempting to work it out alone.

--Scott David Daniels
Scott.Daniels at Acm.Org



More information about the Python-list mailing list