Hi there,
Let me start off saying I'm a C programmer, and that Python is a new language for me.
I'm trying to write an if statement, which works under Python 2.5 on my Fedora machine, but S60 Python says it is an error. The code in question:
The error from S60 Python:Code:elif 'SEARCHING' in data: print 'received SEARCHING: resending command' self._send_command(cmd, ret_cb, err_cb, args)
Code:line 470, in _parse_result elif 'SEARCHING' in data: TypeError: 'in <string>' requires character as left operand

Reply With Quote





