nd yours truly. It uses an extension of the ini-
style config format. Sorry for the multiple brackets, my fault. :-)
--
Nicola Larosa - http://www.tekNico.net/
Ci sono paesi in cui un gesto violento se compiuto da un uomo su una
don-
na è punito più severamente: si chiama uguaglianza sostan
second Michele's comment: invest
some of your time in free/open work, and you'll be much rewarded.
--
Nicola Larosa - http://www.tekNico.net/
Do you know how to proof-read your writing before hitting send? If
not,
please learn. A spell checker may help. If you do know how, if you
care
Nicola Larosa wrote:
> Here's my take:
>
> excessblk = Block(total - P.BASE, srccol,
> carry_button_suppress=True
> ) if total > P.BASE else None
Oops, it got shortened out: line longer than 72 chars, acceptable in
code, but not in email. I'll try again.
I
John Posner wrote:
> Is there any consensus on how to format a conditional expression
> that is too long for one line?
Here's my take:
excessblk = Block(total - P.BASE, srccol,
carry_button_suppress=True
) if total > P.BASE else None
--
Nicola Larosa - http://w
Pat <[EMAIL PROTECTED]> wrote:
> After you learn Python, you'll come to despise Perl.
Some of us came to despise Perl *before* learning Python (third to
last paragraph):
A journey through languages
http://www.teknico.net/devel/journey/index.en.html
--
Nicola Larosa - http://w
y provide Italian-to-English realtime translation for our
guests, and also English-to-Italian realtime translation for that part of
the audience which is not much familiar with English.
[1]: <http://www.pycon.it/pycon2/login>
--
Nicola Larosa - http://www.tekNico.net/
--
http://mail.python.org/mailman/listinfo/python-list
0 (one million) in about 190 seconds. :-)
> This is 6 orders of magnitude faster than Congiano's benchmark. That
> is a speed up by a factor of a million.
That's really besides the point. Nice OT, anyway. ;-)
--
Nicola Larosa - http://www.tekNico.net/
AtomPub sits in a very s
Holy Shmoly, Ruby 1.9 smokes Python away!
http://antoniocangiano.com/2007/11/28/holy-shmoly-ruby-19-smokes-python-away/
The post is less flaming than the title, fortunately. :-)
--
Nicola Larosa - http://www.tekNico.net/
If you have multiple CPUs and you want to use them all, fork off as
many
)
* Enrico Franchi (Sviluppatore Indipendente)
* Alan Franzoni (Sviluppatore Indipendente)
* Nicola Larosa (Space SPA)
* Alex Martelli (Google Inc.)
* Stefano Masini (Pragma2000)
* Carlo Miron (Visiant Galyleo)
* David Mugnai (Space SPA)
* Lawrence Oluyede (Sviluppatore Indipendente)
* Manl
ethods
> of list to tuple, which appears to mean "index" and "count".
Yeah, I like this! "frozenlist" is nice, and we get a "real" immutable
sequence for a change.
--
Nicola Larosa - [EMAIL PROTECTED]
She was up the learning curve like a mountain goat.
e-dates subclassable native types, but quite
> serviceable.
Here's a more recent and tested one, by yours truly (and Michael Foord):
An Ordered Dictionary
http://www.voidspace.org.uk/python/odict.html
--
Nicola Larosa - [EMAIL PROTECTED]
How wonderful the world would be if his behaviour an
t;, this article may be useful:
On measuring memory usage
http://www.kdedevelopers.org/node/1445
--
Nicola Larosa - [EMAIL PROTECTED]
...Linux security has been better than many rivals. However, even
the best systems today are totally inadequate. Saying Linux is
more secure than Windows isn
> Using None might be problematic if None could be a valid argument.
That's like saying that NULL could be a significant value in SQL. In
Python, "None" *is* the empty, not significant value, and should always be
used as such. Specifically, never exchange "None" for
> def f(self, x=None):
> if not x:
Ha! You fell for it! ;-D
(Hint: what about x being passed with a value of zero? :-) )
> x = self.data
> print x
--
Nicola Larosa - [EMAIL PROTECTED]
...Linux security has been better than many rivals. However, e
if x is None:
print self.data
else:
print x
--
Nicola Larosa - [EMAIL PROTECTED]
...Linux security has been better than many rivals. However, even
the best systems today are totally inadequate. Saying Linux is
more secure than Windows isn't really addres
so I'll
> look around for better ideas.
You may want to look into ConfigObj:
http://www.voidspace.org.uk/python/configobj.html#config-files
--
Nicola Larosa - [EMAIL PROTECTED]
No inventions have really significantly eased the cognitive difficulty
of writing scalable concurrent applica
aces. An application written with VR
Juggler is essentially independent of device, computer platform, and VR
system. VR Juggler may be run with any combination of immersive
technologies and computational hardware."
Ah, I see now. Thanks again. ;-)
--
Nicola Larosa - [EMAIL PROTECTED]
Us
17 matches
Mail list logo