Programming Homework Help

STU Convert All Characters in A File to Upper Case Code

 

Find a favorite paragraph of text on the internet (or song lyrics or whatever). You just need a few lines.

Copy and paste the text of the paragraph into a text file and save the file to the hard-drive on your computer.

You can use Notepad or IDLE or some other simple text editor.

Write a program that will open the file containing your paragraph, read the file, convert the text to all upper case and write the text to a new file.

You will need to figure out where Python looks for files by default – or specify the full path name to your file.