help using find method with a string.
#1
Hi.
I'm very new to python scripting for xbox. I'm trying to use a command like this: f.find("something") where f is the object of the file that i open. The problem is that xbox seems like not understanding "find". I've imported string library but nothing changes. Is there something else that i should have done before using find string method? Another library or something?
I'm using BLINGBLING xbmc version and under system folder there's a python directory including: DLLs (folder),Lib(folder),spyce(floder),python24.dll and python24.zlib. Is this correct?
Thanks in advance!
Smile
Reply
#2
data = f.read()
found = data.find('something')
Reply
#3
Yes...yes...
Thanks Nuka1195.
I'm a little embarrassed about my topic Blush

python scripting and xbmc gui are wonderful!!!Big Grin
Reply

Logout Mark Read Team Forum Stats Members Help
help using find method with a string.0