Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #19720
| From | "Clark, Kathleen" <katie.clark@yale.edu> |
|---|---|
| Subject | TypeError |
| Date | 2012-02-01 16:53 +0000 |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.5306.1328115547.27778.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
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@yale.edu
www.sharrpp.com
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
TypeError "Clark, Kathleen" <katie.clark@yale.edu> - 2012-02-01 16:53 +0000 Re: TypeError Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-02-02 00:32 +0000
csiph-web