I am reading Python on Symbian on the wiki page of this site:
http://wiki.forum.nokia.com/index.ph..._and_Messaging
while reading, I came across this code within the body of a long code and I don't seem to understand what it does. I know what a try and except does but what the try line is set to fetch is completely unknown to me.
try:
noteString = '\n'.join(note.value for note in contactList[0].find(type='note'))
except:
noteString = u"No notes available"
else:
noteString = u"The phone number was not found"
Could anyone please help me with the explanations please.
thank you.

Reply With Quote

