Peter,
http.request("GET","/news/headlines?ned=es_mx&hl=es" ,
Thank you. It works, too.
Javier
--
https://mail.python.org/mailman/listinfo/python-list
Chris,
(Also, please upgrade your Windows box to run Python 2.7.)
It's not /my/ Windows box. I'm allowed to run my script, that's
all. My Windows box is actually that with 3.6.
http = httplib.HTTPSConnection('news.google.com')
http.request("GET","/news?ned=es_MX" ,
('Loc
Google News used to fail with the high level functions provided by httplib
and the like. However, I found this piece of code somewhere:
def gopen():
http = httplib.HTTPSConnection('news.google.com')
http.request("GET","/news?ned=es_MX" ,
headers =
<@yahoo.com> escribió:
>> > Perhaps, but the treatment by your mail/news software plus the
>> > delightful Google Groups of the original text (which seemed intact in
>> > the original, although I don't have the fonts for the content) would
>> > suggest that not just social or cultural issues would
>> This question is more or less what a Korean who doesn't
>> speak English would ask if he had to debug a program
>> written in English.
>
> Perhaps, but the treatment by your mail/news software plus the
> delightful Google Groups of the original text (which seemed intact in
> the original, altho
"Istvan Albert" <[EMAIL PROTECTED]> escribió:
> How about debugging this (I wonder will it even make it through?) :
>
> class 6???
> 6?? = 0
> 6? ?? ?=10
This question is more or less what a Korean who doesn't
speak English would ask if he had to debug a program
written in English.
"Eric Brunel" <[EMAIL PROTECTED]> escribió en el mensaje
> Funny you talk about Japanese, a language I'm a bit familiar with and for
> which I actually know some input methods. The thing is, these only work if
> you know the transcription to the latin alphabet of the word you want to
> type, which
"René Fleschenberg" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> This is a very weak argument, IMHO. How do you want to use Python
> without learning at least enough English to grasp a somewhat decent
> understanding of the standard library?
By heart. I know a few _very goo
Paddy,
>> Dijkstra's argument is obsolete, as it is based on
>> how array length was computed many years ago -- if
>> we have an array a = b..e, then the lenght of a
>> is e-b (half open range). Good at low level
>> programming.
>>
>> But a quarter of a century after we know concepts
>> are much b
> Here is a document giving good reasons for indexing to start at
> zero, as in Python.
> http://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html
> The author has done a bit:
> http://en.wikipedia.org/wiki/Dijkstra
Dijkstra's argument is obsolete, as it is based on
how array length
d. When people say that half-open slices work
for every i, they are tinking in the case i=0.
Javier
___
Javier Bezos| TeX y tipografía
jbezos at wanadoo dot es| http://perso.wanadoo.es/jbezos
|...
Cerv
t.)
Recently there was a short (sub)thread about that.
One of my messages (against half-open slices) is,
for example
http://groups-beta.google.com/group/comp.lang.python/msg/5532dd50b57853b1
Javier
___
Javier Bezos| TeX y ti
ssage. This thread began when some people
thought that I had to be convinced about how
wonderful slices are, after I said _incidentally_
I didn't like Python slices (and then I had to
explain in turn why I don't like them). Perhaps
you should ask those people, not me.
Javier
____
le mathematical terms (in other
words, it's an integral part of the algorithms),
I cannot find a way to explain the e+1 in cases
2 and 3 (and the inconsistency with e-t+1 in case
2 vs. s+t in case 1) except the Python syntax.
Javier
_
"Dennis Lee Bieber" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> > I don't think l[:5] + l[5:] = l is a handy property
> > and to me is clearly counterintuitive. Further,
[snipped in the reply]
Please, don't remove parts of my post which are
relevant to the discussion. I s
Tutorial tells us exactly the same...
Ah! I've just forgotten that...
Javier
_______
Javier Bezos | Mem. A multilingual system for LaTeX
jbezos at wanadoo dot es | http://mem-latex.sourceforge.net
.
syntax.
MetaFont explains this by saying that the index
doesn't refer to a character but to a position
between characters, which when traslated to Python
would mean:
s t r i n g
^ ^ ^ ^ ^ ^ ^
0 1 2 3 4 5 6
so that [1:2] is "t".
Javier
pting language (as formerly was Tcl).
Javier
_______
Javier Bezos| TeX y tipografía
jbezos at wanadoo dot es| http://perso.wanadoo.es/jbezos
|...
CervanTeX (Spanish TUG) | http://www.cervantex.org
--
h
18 matches
Mail list logo