I'd use .strip() (or is that one of those things going away in python3?)