[EMAIL PROTECTED] wrote:
danielx wrote:
[EMAIL PROTECTED] wrote:
Here is my script:
from mechanize import *
from BeautifulSoup import *
import StringIO
b = Browser()
f = b.open(http://www.translate.ru/text.asp?lang=ru;)
b.select_form(nr=0)
b[source] = hello python
html =
Pak (or Andrei, whichever is your first name),
My proposal below:
- Original Message -
From: [EMAIL PROTECTED]
Newsgroups: comp.lang.python
To: python-list@python.org
Sent: Sunday, July 30, 2006 8:52 PM
Subject: Re: Html character entity conversion
danielx wrote:
[EMAIL
Anthra Norell wrote:
import SE# Available at the Cheese Shop
I mean, that OP requested:
'How can I translate this using standard Python libraries??'
so it's just only not on topic.
Claudio Grondi
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
How can I convert encoded string
sEncodedHtmlText = '#1087;#1088;#1080;#1074;#1077;#1090;
#1087;#1080;#1090;#1086;#1085;'
into human readable:
sDecodedHtmlText == 'пÑÐ¸Ð²ÐµÑ Ð¿Ð¸Ñон'
How about:
sEncodedHtmlText = 'text:
- Original Message -
From: Claudio Grondi [EMAIL PROTECTED]
Newsgroups: comp.lang.python
To: python-list@python.org
Sent: Tuesday, August 01, 2006 2:42 PM
Subject: Re: Html character entity conversion
Anthra Norell wrote:
import SE# Available at the Cheese Shop
I mean
John Machin wrote:
Claudio Grondi wrote:
[EMAIL PROTECTED] wrote:
Claudio Grondi wrote:
[EMAIL PROTECTED] wrote:
Here is my script:
from mechanize import *
from BeautifulSoup import *
import StringIO
b = Browser()
f = b.open(http://www.translate.ru/text.asp?lang=ru;)
b.select_form(nr=0)
[EMAIL PROTECTED] wrote:
Here is my script:
from mechanize import *
from BeautifulSoup import *
import StringIO
b = Browser()
f = b.open(http://www.translate.ru/text.asp?lang=ru;)
b.select_form(nr=0)
b[source] = hello python
html = b.submit().get_data()
soup = BeautifulSoup(html)
[EMAIL PROTECTED] wrote:
Here is my script:
from mechanize import *
from BeautifulSoup import *
import StringIO
b = Browser()
f = b.open(http://www.translate.ru/text.asp?lang=ru;)
b.select_form(nr=0)
b[source] = hello python
html = b.submit().get_data()
soup = BeautifulSoup(html)
print
Claudio Grondi wrote:
[EMAIL PROTECTED] wrote:
Here is my script:
from mechanize import *
from BeautifulSoup import *
import StringIO
b = Browser()
f = b.open(http://www.translate.ru/text.asp?lang=ru;)
b.select_form(nr=0)
b[source] = hello python
html = b.submit().get_data()
danielx wrote:
[EMAIL PROTECTED] wrote:
Here is my script:
from mechanize import *
from BeautifulSoup import *
import StringIO
b = Browser()
f = b.open(http://www.translate.ru/text.asp?lang=ru;)
b.select_form(nr=0)
b[source] = hello python
html = b.submit().get_data()
soup =
In [EMAIL PROTECTED],
[EMAIL PROTECTED] wrote:
Here is my script:
from mechanize import *
from BeautifulSoup import *
import StringIO
b = Browser()
f = b.open(http://www.translate.ru/text.asp?lang=ru;)
b.select_form(nr=0)
b[source] = hello python
html = b.submit().get_data()
soup =
[EMAIL PROTECTED] wrote:
Claudio Grondi wrote:
[EMAIL PROTECTED] wrote:
Here is my script:
from mechanize import *
from BeautifulSoup import *
import StringIO
b = Browser()
f = b.open(http://www.translate.ru/text.asp?lang=ru;)
b.select_form(nr=0)
b[source] = hello python
html =
Claudio Grondi wrote:
[EMAIL PROTECTED] wrote:
Claudio Grondi wrote:
[EMAIL PROTECTED] wrote:
Here is my script:
from mechanize import *
from BeautifulSoup import *
import StringIO
b = Browser()
f = b.open(http://www.translate.ru/text.asp?lang=ru;)
b.select_form(nr=0)
b[source] =
13 matches
Mail list logo