[PLUG] python boggle (resolved)

Paul Munday paulm at freegeek.org
Thu Jul 25 20:01:40 UTC 2013


On Thu, 2013-07-25 at 12:26 -0700, Russell Johnson wrote:
> On Jul 25, 2013, at 11:55 AM, "John Meissen" <john at meissen.org> wrote:
> 
> > Un-printable characters (including cr/lf) in the data read from the file?
> 
> That was it. I looked at the file with vi after :set list, and it had a newline. I added:
> 
> HOST_NAME = HOST_NAME[:-1] 
> 

You might want to look into Python's configparser for future use. 

-- 
               Technical Support Specialist, Free Geek
              Free Geek Tech Support: support at freegeek.org
        (503) 232-9350 option 6 Tuesday-Saturday: 12-1,1:30-5:45PM




More information about the PLUG mailing list