easy python code
Can anybody here give me an example of a simple python program that reads a text file (let's say /home/joeuser/ex.txt) into a string, then prints it to the screen?
I'm nearly certain I know how to do it (I've done it before), but for some reason I'm getting an error. I suspect my python libraries are screwed up.
|