I have a quick question about handling values with special characters.
Lets say I have a file which contains: ================================== blah#blah ================================== Here is what I have for my code: f6 = open(fileAttached) msInfo = f6.readlines(); f6.close() varName = msInfo[0] .... smtp.login(uname,varName) ... ================================== I am trying to connect to a mailserver, and it keeps failing. My guess is that the "#" sign messing up. Is there anyway to encode that character?
-- http://mail.python.org/mailman/listinfo/python-list