Amit, Simon
Thanks for the help
Peter
___
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32
On 8/23/05, Peter Jessop <[EMAIL PROTECTED]> wrote:
> 'Traceback (most recent call last):
> File "C:\Scripts\Script2.py", line 4, in ?
> print objChild.Name + '\t' + objChild.Description
> TypeError: coercing to Unicode: need string or buffer, NoneType found'
Try:
print objChild.Name, '\t'
This happens when the description value is null.
How do I avoid this problem?
You can not add string to None,
>>> "ASd"+None
Traceback (most recent call last):
File "", line 1, in ?
TypeError: cannot concatenate 'str' and 'NoneType' objects
>>>
try something like:
import win32com.client
o
Good day all:
I have a trivial problem that I would be grateful for help with.
I am running python 2.4.1 with Python for Windows extensions build 204.When I run the following script after returning some lines correctly I find the following error. 'Traceback (most recent call last):
File "C:\Scr