[Qt-interest] Html parsing
Frédéric LECONTE
fred.leconte2 at wanadoo.fr
Mon Dec 1 16:25:48 CET 2008
Le lundi 01 décembre 2008 15:46:40 Benjamin Lau, vous avez écrit :
> Well...if you want something simpler, try this:
>
> Get Python and a library called BeautifulSoup
> www.crummy.com/software/BeautifulSoup/
> Write a Python script to open the saved HTML file, find the section
> with the translated text and print it to standard output or to a file
> Write a Qt program to download the HTML from Google, invoke the Python
> script and display its output
>
> This is simpler than using WebKit in Qt, but requires an entire
> language interpreter. To streamline this you can directly embed a
> Python interpreter in the program, but that is left as an exercise for
> the reader (read: much to complicated and irrelevant to explain here
> in a Qt mailing list)
>
> Hope this helps!
> Ben
I think I will make a program that:
1-finds cheaper chineses transleter( sorry to focus them) on net
2-posts my text
3-waits for respond ,display it and pays
or:
1-buy an book of language to translate.
2-learn it
3-translate with my little hands
4-edit and display it on my computer screen
or:
1-call god
2-ask him to learn all world languages
I stop joking and thanks a lot to Ben and Oliver.
More information about the Qt-interest-old
mailing list