|
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... |
| dani2mobile |
| View Public Profile |
| Find all posts by dani2mobile |
|
Hi dani and welcome to the PyS60 DibO,
I think someone already answered you here For a new discussion please start a new thread rather then adding to other discussions... Best Regards Croozeus |
|
I have also this problem can u tell me other way 2 solve it denny
|
| jalpesh_patel17 |
| View Public Profile |
| Find all posts by jalpesh_patel17 |
| Closed Thread | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| please help cell id | perthachy | General Symbian C++ | 12 | 2007-07-10 14:14 |
| carbidec++ helloworld project problem | akhin | Carbide.c++ IDE and plug-ins | 0 | 2007-03-11 13:40 |
| code warrior problems | mayankkedia | Carbide.c++ IDE and plug-ins | 2 | 2004-10-25 07:59 |
| CEikDialog Question | AdamBeck | General Symbian C++ | 2 | 2004-09-30 20:40 |
| User break point error in Grid | ag24master | Symbian User Interface | 0 | 2003-08-07 09:20 |