Hi .. is this a bug or my code is buggy ???
This is my code:
import os
import appuifw, socket
import e32
import httplib, urllib
filename = u'c:\\goal.txt'
urllib.urlretrieve(u'http://www.danihome.dnsalias.org',filename)
data = file(filename)
f = data.read()
data.close()
appuifw.app.title = u'go4it on Mobile'
appuifw.app.body = appuifw.Canvas()
i = f.find('title')
while i != -1:
j = f.find('title',i + len('title') + 1)
k = f.find('reminder_type',i)
l = k + len('reminder_type') + 1
str = f[i+ len('title') + 1:j-2] + ' is ' + f[l: f.find('/>',l)]
appuifw.note(unicode(str), 'info')
i = f.find('title',j + len('title') + 1)
os.remove(filename)
I am running it as script in my pys60 interpreter ...
I am getting 'Connection Timed out Error'
However I am able to access the URL via web browser
Whats the issue ...???
Thanks in advance...





