EAnder 16 Light Poster

If by pdu you mean protocol data unit(what i get when I google "pdu"), then thats a protocol not a character set. If you mean ETSI GSM 03.38(some character set i get when I google "pdu to ascii") then here is a list of pdu characters to their corresponding unicode characters. Then it is a simple matter to convert from unicode to ascii. Remember... google is your friend.

EAnder 16 Light Poster

I did something very similar for my father who happens to be a weather nut. I went online and found the webpage for our zipcode and used urllib to get updates of the webpage every 15 minutes or so. Then I just parsed the html for common things like temperature, dew point, cloud coverage. It was pretty simple once you knew what to look for. My solution worked fine for me but if you plan on sharing this program with more than you or maybe a family member I would recomend using the APIs as they will probably be more reliable. If the weather channel were to change their webpage design my little program could be useless.

--EAnder

vegaseat commented: thanks for the note +14
EAnder 16 Light Poster

First of all the files you are trying to access are probably restricted to admin or root. Second of all when you use the open(raw_input("File Name: ")) it should include a whether you want read/write access. Corrected code would be

open(raw_input("File Name: "), 'r')

The 'r' is saying you want to read the file, not write to it. You can also use 'w' for write, 'rb' for reading binary, and 'wb'(i think) for writing to binary.

Andrew Wiggin commented: I love your quotes. +2