TypeError

Clark, Kathleen katie.clark at yale.edu
Wed Feb 1 17:53:41 CET 2012


Hello,

I am new to python and am trying to correct the follow error:

TypeError: sequence item 1: expected string, NoneType found

The error message is referencing line 86 of my code:

ws.cell(row=row, column=1).value = ','.join([str(ino), fn, ln, sdob])


If I'm understanding this correctly, the code is expecting a string, but not finding it.  I'm wondering, what is meant by a "string" and also how I can figure out the problem and correct it.

If anyone could help me understand what the error is and needs to be done to correct it, I think I might be able to fill in the blanks.

Thanks,

Katie



______________________________________________________________________
[logo for email]
                  Katie Clark
            Research Assistant
                  SHARRPP
    60 Temple Street, Suite 4D
         New Haven, CT 06510
               203-737-7425
           katie.clark at yale.edu
             www.sharrpp.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120201/83b06ba6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 3264 bytes
Desc: image002.jpg
URL: <http://mail.python.org/pipermail/python-list/attachments/20120201/83b06ba6/attachment.jpg>


More information about the Python-list mailing list