://pypi.python.org/pypi/psyco/1.6
Do you think it's useful, or it depends...?
--
Vicent Giner-Bosch, Valencia, Spain
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
ction by value or by reference. Is there any equivalence in Python to
that approach? How is the usual way to pass function arguments in Python?
I guess I'll discover many of this things by my own when "playing arround"
with Python, but some orientation will be w
on was simple but I was afraid that the
answer was going to be too complex.
But I see that it actually works like I thought it should!!! It's extremely
simple and intuitive, IMHO.
Thank you to all for your precise and clear answers. I've learned a lot, and
specially appreciate the links th
e never used it... but perhaps Numeric/Numpy handle
> this kinda stuff better (for accuracy's sake)
>
>
Maybe this issue can be overcome by using symbolic notation when possible
(maybe by using SymPy)? Has anyone any experience with this?
--
Vicent
now any kind of recomended (I mean,
optimized for a good working experience, good for eyes health, etc.) color
palette or color combination with black background?
Thank you in advance.
--
Vicent
___
Tutor maillist - Tutor@python.org
http://mail.pyt
A simple but maybe too wide question:
When is it / isn't it useful to use dictionaries, in a Python program?
I mean, what kind of tasks are they interesting for?
Maybe you can give me some references where they explain it.
Thank you!!
--
V
can give me some hint or any web reference, I
would appreciate it.
Thank you in advance.
--
Vicent
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Sorry, I answered only to Eugene...
-- Forwarded message --
From: Vicent
Date: Sat, Jan 24, 2009 at 15:42
Subject: Re: [Tutor] Defining "bit" type
To: Eugene Perederey
On Sat, Jan 24, 2009 at 15:31, Eugene Perederey
wrote:
> Hi,
> type 'bool' tak
On Sat, Jan 24, 2009 at 15:42, Vicent wrote:
>
>
>
> I mean, being "a" a boolean variable, it works as if it was a number, but
> every time I want to update the value of "a", I must put "False" for 0 and
> "True" for 1, or it will chan
and space-efficient.
>
> Ilan gave a presentation on this at the Texas Unconference last fall, and
> some of the applications were pretty interesting/novel. If you download
> the
> tarball from PyPI, there is an included examples directory.
>
Well, not necessarily —but I
essary to handle with many unexpected
behaviors...
As I am a beginner, I still don't know how to build that class, but I guess
Wayne gave me the clue, or something to play with.
--
Vicent
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
?
You are going to kill me, but... Maybe the solution is not to re-define what
already exists —boolean data type, but just using it, as suggested at the
beginning of the thread...
b = bool(1)
b = bool(0)
After all, it's not so bad...
I'll think about it.
--
Vicent
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
On Sat, Jan 24, 2009 at 20:43, bob gailer wrote:
> Vicent wrote:
>
>
> It would be great if "b.value = 0" could be just written as "b = 0"
> without changing type as a result.
>
>
> Assignment in effect does a del b, then creates a new b based on
On Tue, Jan 27, 2009 at 14:26, Ricardo Aráoz wrote:
>
> "Vicent" wrote
>
> Anyway, I am working with Python 2.5.4, and I am interested in defining a
> new type called "bit" (if possible), which represents a number that can
> only
> take values 0
"a.list_1stpart" , a property.
The general case is (the second question):
(2) properties which can be derived from other "primary" properties, are
they just methods??
I don't know which approach is more correct, from any point of view... By
the way, does the "property" approach consume much memory or space than the
"method" approach??
Thank you very much for your patience...
--
Vicent
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
ce about the name of properties. I agree with
getting the "list_" prefix out.
Thank you!!
--
Vicent
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
l. This might be appropriate for your 1stpart and 2ndpart
> values. See
> http://personalpages.tds.net/~kent37/kk/8.html<http://personalpages.tds.net/%7Ekent37/kk/8.html>
> http://docs.python.org/library/functions.html#property
>
>
OK... N
17 matches
Mail list logo