Hi,
Is there a way to, say, do a google or yahoo search from within your python app? Could someone point me in the right direction for something like this?
Thanks!!
Hi,
Is there a way to, say, do a google or yahoo search from within your python app? Could someone point me in the right direction for something like this?
Thanks!!
Yes, this is possible. You can retrive the contains of a webpage. So you need to have the google search results site name to access the available search results.
For eg, http://www.google.com/search?client=...utf-8&oe=utf-8
Kandyfloss
V 7.0642.0
18-10-06
RH-51
Nokia 7610
Hi Kandyfloss!
Thanks for your help.
I have already done thid but that returns so many links.. up to 70.
how would i just get the top 10 returned links? a lot of them are advertisements and stuff.
Hi ComplexT,
If you not find a specific solution to that, there is always string manipulation that can work for you. Using string manipulation (slice operator I recommend) you could filter the results and get the desired results.
Best Regards
Croozeus
Pankaj Nathani
www.croozeus.com
Thanks Croozeus..
i may come back for some more help from you on that topic!!![]()
Gargi Das- http://gargidas.blogsot.com
Forum Nokia Python Wiki
Learn Python at http://mobapps.org/PyS60
Hey,
thanks all again for your help.
Yes that is what i wouldnt mind doing. I tried to use webbrowser module. when i took it from my python dist and added the file to my libraries i was getting the error no module named collections??
i couldnt find information on this anywhere..
the line says "from collections import deque" ??
Should opening the webbrowser be straight forward?? thanks for your help again![]()
I'm not sure if this helps but, have you seen this article? It's about how to open a web browser. Again, sorry if it's not much help![]()
hi ComplexT
its very easy to open a browser in phone using pys60 script. i have given just a sample use it
hope it helps and give a feedbackCode:import e32 import location from audio import* apprun = 'z:\\system\\programs\\apprun.exe' browser = 'z:\\System\\Apps\\Browser\\Browser.app'![]()
Gargi Das- http://gargidas.blogsot.com
Forum Nokia Python Wiki
Learn Python at http://mobapps.org/PyS60