This is one of the better all-in-one references to Python. I recommend
grabbing the one big single page and saving it locally.
http://rgruet.free.fr/#QuickRef
-glenn
--
Glenn H. Tarbox, PhD || 206-494-0819 || [EMAIL PROTECTED]
"Don't worry about people stealing your ideas. If your ideas are a
This code pickles and unpickles functions. Note it is simi-hackish
and I make no guarentee about it working in python 3.0 (but I'll be
maintaining a copy for distributed stuff I'm working on for dev1.
import new, types, copy_reg, cPickle
#See python cookbook for more details
def code_ctor(*args)
One way to get around this limitation in python is to use callable
classes instead of functions.
David
On Sat, Jun 14, 2008 at 10:42 AM, David Harvey
<[EMAIL PROTECTED]> wrote:
>
> On Jun 14, 2008, at 1:25 PM, Daniel Bump wrote:
>
>
> Some code that has been proposed by Nicolas Thiery
> for sage/
forwarding this announcement:
-- Forwarded message --
From: Gael Varoquaux <[EMAIL PROTECTED]>
Date: Sat, Jun 14, 2008 at 19:40
Subject: Alex Martelli giving the SciPy 2008 Keynote
To: [EMAIL PROTECTED]
On behalf of the SciPy2008 organizing committee, I am happy to announce
tha
On Jun 14, 2008, at 1:25 PM, Daniel Bump wrote:
>
>
> Some code that has been proposed by Nicolas Thiery
> for sage/combinat/families.py would create classes
> that have as attributes dictionaries of functions.
>
> However dumps(s) will raise an exception if s is
> such a class instance.
>
> Exam
Some code that has been proposed by Nicolas Thiery
for sage/combinat/families.py would create classes
that have as attributes dictionaries of functions.
However dumps(s) will raise an exception if s is
such a class instance.
Example: the simple reflections in a Weyl group. See:
http://groups.g
On Sat, Jun 14, 2008 at 6:25 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote:
> On Sat, Jun 14, 2008 at 5:44 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> how can I distinguish Sage Integers and Floats without knowing
>> anything about Sage? Originally I thought just by checking for __int_
On Sat, Jun 14, 2008 at 5:44 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote:
> Hi,
>
> how can I distinguish Sage Integers and Floats without knowing
> anything about Sage? Originally I thought just by checking for __int__
> and __float__ methods,
> but both Sage Integers and Floats define both __int
Hi,
how can I distinguish Sage Integers and Floats without knowing
anything about Sage? Originally I thought just by checking for __int__
and __float__ methods,
but both Sage Integers and Floats define both __int__ and __float__.
(Python ints and floats do that too.)
So one can use some other me
thanks!! it works now very well!
On Jun 14, 12:01 am, mabshoff <[EMAIL PROTECTED]> wrote:
> On Jun 13, 6:01 am, Harald Schilly <[EMAIL PROTECTED]> wrote:
>
> > On Jun 13, 1:24 pm, eduardo <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> > > SAGE in "/home/SAGE/sage-3.0.2" (as root)
> > > IOError: [Errno 13
10 matches
Mail list logo