Numarray is an array processing package designed to efficiently
manipulate large multi-dimensional arrays. Numarray is modelled after
Numeric and features c-code generated from python template scripts,
the capacity to operate directly on arrays in files, arrays of
heterogeneous records, string
smurphus wrote:
I hope that information is of some use. Not sure where to go from
here.
Please try
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I.
-I./Include -DPy_BUILD_CORE -c ./Modules/posixmodule.c -o
Where did I suggest that [distros should] come with nearly everything
installed? This is utterly ridiculous. Common sense could helped you
with that one.
malv
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, 05 Dec 2005 23:45:30 -0800, Erik Max Francis wrote:
I only scanned through the API documentation, but it looks like only
genetic algorithms are supported, not full genetic programming.
Correct. Organisms of a species have a fixed genome.
I've been planning on releasing my
How is your package different from a nn package? Is this an addon for
genetic programming or does it include the standard nn components as
well, such as backprop etc?
Not being very familiar with genetic programming, forgive me my naive
question, I could not immediately find the answer.
Thank you,
Op 2005-12-06, [EMAIL PROTECTED] schreef [EMAIL PROTECTED]:
Paul Rubin wrote:
Why use temporary variables when all you have to do is make your
expressions three lines long to avoid polluting the namespace?
Indeed. I'd much rather say
x = a + b + (c * d) + e
than
temp1 = a + b
Hello,
does anyone know of Python modules for OLAP work? E.g. efficient
manipulation of large multi-dimensional structures (arrays) of
arbitrary (not only numeric) data?
TIA,
Sincerely,
Wolfgang Keller
--
http://mail.python.org/mailman/listinfo/python-list
aum wrote:
Correct. Organisms of a species have a fixed genome.
My bad, you had mentioned in the announcement that you had looked at
genetic programming systems but didn't claim that pygene was itself a
genetic programming system. I misread that; my apologies.
I've been planning on
Antoon Pardon wrote:
Op 2005-12-06, [EMAIL PROTECTED] schreef [EMAIL PROTECTED]:
Paul Rubin wrote:
Why use temporary variables when all you have to do is make your
expressions three lines long to avoid polluting the namespace?
Indeed. I'd much rather say
x = a + b + (c * d)
[EMAIL PROTECTED] writes:
I think there is, for python. Not that I agree with it. The language
doesn't prevent you from using the short one-liner style but the idioms
prefer the line by line(and one single op/action per line) style.
Are you serious?!! You're saying idiomatic Python prefers
Op 2005-12-06, [EMAIL PROTECTED] schreef [EMAIL PROTECTED]:
Antoon Pardon wrote:
Op 2005-12-06, [EMAIL PROTECTED] schreef [EMAIL PROTECTED]:
Paul Rubin wrote:
Why use temporary variables when all you have to do is make your
expressions three lines long to avoid polluting the
Paul Rubin wrote:
[EMAIL PROTECTED] writes:
I think there is, for python. Not that I agree with it. The language
doesn't prevent you from using the short one-liner style but the idioms
prefer the line by line(and one single op/action per line) style.
Are you serious?!! You're saying
Ritesh Raj Sarraf wrote:
I'm using this for option arguments which are mutually inclusive.
But I want the user to pass atleast one option argument for the program
to function properly.
For example, I have an option --fetch-update which requires a file foo
to check what it has to fetch. If
On 6 Dec 2005, at 04:55, Xah Lee wrote:
i had the pleasure to read the PHP's manual today.
http://www.php.net/manual/en/
To be fair, the PHP manual is pretty good most of the time. I mean,
just imagine trying to use PHP *without* the manual?! It's not like
the language is even vaguely
Hello,
Did anybody tried python pickle module over heterogeneous 32/64 bits
mpi exchanges to overcome the translation problem ? i.e. pickling on
one side (let's say a 32-bits OS side), sending the buffer as string
through mpi and unpickling on the other side (let's say a 64-bits OS
side)
Any
Hello all,
I use Python 2.3.3 and try to patch SimpleXMLRPCServer.py with the patch i
got from Python.org.
so after changing to the directory where both SimpleXMLRPCServer.py and
SimpleXMLRPCServer.patch reside i run :
patch -i SimpleXMLRPCServer.patch -b --verbose --dry-run
SimpleXMLRPCServer.py
[EMAIL PROTECTED] wrote:
Paul Rubin wrote:
[EMAIL PROTECTED] writes:
I think there is, for python. Not that I agree with it. The language
doesn't prevent you from using the short one-liner style but the idioms
prefer the line by line(and one single op/action per line) style.
Are you
I am looking for a way to force a Tkinter window into focus on a system
level. I know the force focus method should bring one window of my
application into focus, but it seems I need to have some part of my
application already in focus on a system level to make this work. If
for example I am
Steve Holden wrote:
One perhaps needs to be a little more careful with instance variables,
but again most *temporaries* are simply local to the method in which
they're called, they don't exist for the lifetime of the instance.
and more importantly, temporary variables can be reused. they're
[gerd]
com_error: (-2147418113, 'catastrophic failure', None, None)
The last time I saw this error it was because I'd created a control instance
but hadn't initialised it before trying to use it. I had to do something
like this (apologies for the C++):
IPersistStreamInit* IPSI = NULL;
Its ok now,
it seems the problem was that i had saved the file in UTF-8 format ???
I got it again and saved it in Greek(ISO) format and it now goes fine
Thomas G. Apostolou [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello all,
I use Python 2.3.3 and try to patch
annagel wrote:
I am looking for a way to force a Tkinter window into focus on a system
level. I know the force focus method should bring one window of my
application into focus, but it seems I need to have some part of my
application already in focus on a system level to make this work. If
How can I control the number of digits in the exponent when writing
floats to a file? It seems that Python2.4.2(winXP) prints three digits anyway.
print 1.0e50
1e+050
print '%e' % (1.0e50)
1e+050
I would prefer two digits in the exponent. Usually 3 digits is not a
problem, except for waisted
[EMAIL PROTECTED] wrote:
a decent description or tutorial... is better
Sound good but... we're programmers, not documentation specialist or
motivational speakers. Why, when I suggest fixing a design defect with
code, do so many programmers want to respond with... documentation and
Are you telling us you learned C#, smalltalk, lisp, C, perl,
whatever, from 1 website only, without looking at any books, without
spending any money on IDEs or any software? Cause that's what you're
asking here.
rurpy For perl and C, yes, that's (close to) what I'm
Paul Boddie wrote:
[EMAIL PROTECTED] wrote:
Eclipse, for example, performs like a dog on
my dual opteron workstation w/ 2GB of RAM, which is more than enough to
annoy me. I shouldn't have to wait more than about 1 second for an
editor to start and then open what is essentially a text file
Hi,
I just installed (compiled) Python 2.4.2 under Suse 10.
The following code generates a seg error:
import shelve
print shelve.open ('test')
I assume this has to do with the db behind shelve.
How do I go about tracing/fixing the problem ?
Regards,
Philippe
--
Paul Rubin http://[EMAIL PROTECTED] writes:
[EMAIL PROTECTED] (Björn Lindström) writes:
Actually using tabs for eight spaces and then filling out with spaces to
the correct indentation is the convention for Emacs Lisp. Of course,
since everyone coding Emacs Lisp does it with the same editor,
Aaron Bingham wrote:
Did you ever try double clicking the editor tab?
Hi Aaron! Yes, I think I worked that one out, but perhaps the
proliferation of panels containing tabs containing panels (containing
tabs...) is one of the things that really puts me off IDEs,
particularly Eclipse. I'm sure
Op 2005-12-06, Fredrik Lundh schreef [EMAIL PROTECTED]:
Steve Holden wrote:
One perhaps needs to be a little more careful with instance variables,
but again most *temporaries* are simply local to the method in which
they're called, they don't exist for the lifetime of the instance.
and more
Hello,
I have .net framework 2.0 because I' already able to run visual studio
express 2005.
Should I install .net framework 1.1 and also ms toolkit ?
Sincerely Yours,
pujo
--
http://mail.python.org/mailman/listinfo/python-list
[Fredrik Lundh]
my point was that (unless I'm missing something here), there are at
least two widely used implementations (libxml2 and the 4DOM domlette
stuff) that don't interpret the spec in this way.
Libxml2dom is of alpha quality, according to its CheeseShop page anyway.
Hello,
I have test.py:
print 'hello'
I compile using iron python the result is test.exe
I have got error message when I tried to call test.exe telling that
test.exe is not a valid win32 application.
How can I solve this problem?
Sincerely Yours,
Pujo
--
Fredrik Lundh enlightened us with:
def somefunc(x): return x*5
How is that a multi-line function definition?
but that's namespace pollution! if you do this, nobody will never ever be
able to use the name somefunc again! won't somebody please think about
the children!
If you use that as an
[EMAIL PROTECTED]
You're the one who doesn't seem to clearly understand XML namespaces.
It's your position that is bewildering, not XML namespaces (well, they
are confusing, but I have a good handle on all the nuances by now).
So you keep claiming, but I have yet to see the evidence.
Again,
In article [EMAIL PROTECTED],
Diez B. Roggisch [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
I know distutils well but don't know anything about Ant except that it
is a build
tool from Apache project.
Could it possible be better or as good as distutils?
(There are extensions for
[EMAIL PROTECTED] wrote:
Hello,
I have test.py:
print 'hello'
I compile using iron python the result is test.exe
I have got error message when I tried to call test.exe telling that
test.exe is not a valid win32 application.
How can I solve this problem?
Sincerely Yours,
Pujo
[EMAIL PROTECTED] wrote:
This comes up from time to time. The brain damage is all Windows', not
Python's. Here's one thread which seems to suggest a bizarre doubling
of the initial quote of the commandline.
I use version 0.9.5
Windows xp with .net framework 2.0, visual studio Express
pujo
--
http://mail.python.org/mailman/listinfo/python-list
Sybren Stuvel wrote:
Fredrik Lundh enlightened us with:
def somefunc(x): return x*5
How is that a multi-line function definition?
but that's namespace pollution! if you do this, nobody will never ever be
able to use the name somefunc again! won't somebody please think about
the children!
On windows xp, is there an easy way to extract the information that
Python added to the registry as it was installed?
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
Are you telling us you learned C#, smalltalk, lisp, C, perl,
whatever, from 1 website only, without looking at any books, without
spending any money on IDEs or any software? Cause that's what you're
asking here.
rurpy For perl and C, yes, that's
rbt wrote:
On windows xp, is there an easy way to extract the information that
Python added to the registry as it was installed?
Using regedit.exe, look at the registry keys and values under
HKEY_LOCAL_MACHINE\Software\Python
If you need to know how to read the registry from Python: please
PS:
This code however works, which seems to me means the problem is with the
default database used by shelve ... which one is it ?
import shelve
import gdbm
def gdbm_shelve(filename, flag=c):
return shelve.Shelf(gdbm.open(filename, flag))
db = gdbm_shelve(dbfile)
Regards,
Philippe
Hi,
I'm trying to install Python on Windows 2000 Server using remote
desktop. I log as a user that is in administrators group. Instalator
starts, I select default installation directory, on the next screen
with parts to install I click just next. Than blicks screen with
progress bar but it is
Laszlo Zsolt Nagy wrote:
rbt wrote:
On windows xp, is there an easy way to extract the information that
Python added to the registry as it was installed?
Using regedit.exe, look at the registry keys and values under
HKEY_LOCAL_MACHINE\Software\Python
If you need to know how to
Hello NG,
I am wondering if there were proposals or previous disscussions in this
NG considering using 'while' in comprehension lists
# pseudo code
i=2
lst=[i**=2 while i1000]
of course this could be easily rewritten into
i=2
lst=[]
while i1000:
i**=2
lst.append(i)
usually I
Philippe C. Martin wrote:
This code however works, which seems to me means the problem is with the
default database used by shelve ... which one is it ?
http://docs.python.org/lib/module-anydbm.html
/F
--
http://mail.python.org/mailman/listinfo/python-list
There's more to it than that... isn't there? I've used _winreg and the
win32 extensions in the past when working with the registry. I thought
perhaps someone had already scripted something to extract this info.
Ok, if you need to get all changes in the registry, you can use regdiff.
[EMAIL PROTECTED] wrote:
Hi,
I'm trying to install Python on Windows 2000 Server using remote
desktop. I log as a user that is in administrators group. Instalator
starts, I select default installation directory, on the next screen
with parts to install I click just next. Than blicks screen with
There's more to it than that... isn't there? I've used _winreg and the
win32 extensions in the past when working with the registry. I thought
perhaps someone had already scripted something to extract this info.
Yes, a small firm named Microsoft has done this (but not tested w/2.4):
Daniel Schüle wrote:
Hello NG,
I am wondering if there were proposals or previous disscussions in this
NG considering using 'while' in comprehension lists
# pseudo code
i=2
lst=[i**=2 while i1000]
of course this could be easily rewritten into
i=2
lst=[]
while i1000:
i**=2
[EMAIL PROTECTED] wrote:
Hello,
I have test.py:
print 'hello'
I compile using iron python the result is test.exe
I have got error message when I tried to call test.exe telling that
test.exe is not a valid win32 application.
How can I solve this problem?
Sincerely Yours,
Pujo
Ivan Shevanski wrote:
Looking to replace my older flavor of linux with something new. . .What
are some of your favorites for python programming and anything else?
Still Slackware for me. Slackware is the 'true' Linux. To paraphrase
the Brooke Shields Calvin Klein ad - Nothing comes between me
gene tani wrote:
There's more to it than that... isn't there? I've used _winreg and the
win32 extensions in the past when working with the registry. I thought
perhaps someone had already scripted something to extract this info.
Yes, a small firm named Microsoft has done this (but not tested
D H wrote:
Daniel Schüle wrote:
Hello NG,
I am wondering if there were proposals or previous disscussions in this
NG considering using 'while' in comprehension lists
# pseudo code
i=2
lst=[i**=2 while i1000]
of course this could be easily rewritten into
i=2
lst=[]
while
[EMAIL PROTECTED] wrote:
You can use i**=2 for i in range(1000) instead
I don't think one can use assignment in list comprehension or generator
expression. The limitation is very much like lambda.
i**2
--
http://mail.python.org/mailman/listinfo/python-list
Daniel Schüle wrote:
I am wondering if there were proposals or previous disscussions in this
NG considering using 'while' in comprehension lists
# pseudo code
i=2
lst=[i**=2 while i1000]
of course this could be easily rewritten into
i=2
lst=[]
while i1000:
i**=2
Can I ask anydb which db it's using ?
Regards,
Philippe
On Tue, 06 Dec 2005 15:07:19 +0100, Fredrik Lundh wrote:
Philippe C. Martin wrote:
This code however works, which seems to me means the problem is with the
default database used by shelve ... which one is it ?
Jeremy Moles wrote:
I was looking through some code of my today and noticed this little gem
I wrote a few days back that I had totally forgot about:
fill = [(%%-%ds\n % (columns - 1)) % for i in range(yoffset - 2)]
...and then I went on to do:
.join(fill)
Talk about using the wrong
On 5 Dec 2005 14:10:00 -0800,
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Well, I was running Python-2.4.1 so I upgraded to 2.4.2 and guess
what? The docs still reference the old Howto. Perhaps you meant
to say will be fixed in 2.5 rather than has been fixed?
The docs reference the
D H wrote:
[EMAIL PROTECTED] wrote:
You can use i**=2 for i in range(1000) instead
I don't think one can use assignment in list comprehension or generator
expression. The limitation is very much like lambda.
i**2
lst=[i**2 for i in range(1000)]
you will get a list with 1000 items
Philippe C. Martin wrote:
Can I ask anydb which db it's using ?
the page says
If the database file already exists, the whichdb module is used to
determine its
type and the appropriate module is used; if it does not exist, the first
module
listed above that can be imported is used
Steve,
You are right. I just test it. If users login application sucessfully,
then they can see hidden values by view source. Next time they can use
URL path ? key = value to open the second form. I will use session to
handle it.
By the way, do you write a book Python Web Programming? It is on my
Thank you, fuzzyman.
LLi
--
http://mail.python.org/mailman/listinfo/python-list
Daniel Schüle wrote:
D H wrote:
[EMAIL PROTECTED] wrote:
You can use i**=2 for i in range(1000) instead
I don't think one can use assignment in list comprehension or generator
expression. The limitation is very much like lambda.
i**2
lst=[i**2 for i in range(1000)]
you
hi,
[...]
# pseudo code
i=2
lst=[i**=2 while i1000]
of course this could be easily rewritten into
i=2
lst=[]
while i1000:
i**=2
lst.append(i)
Neither of these loops would terminate until memory is exhausted. Do you
have a use case for a 'while' in a list comprehension which
On Mon, 05 Dec 2005 20:56:50 GMT,
Bengt Richter [EMAIL PROTECTED] wrote:
A little more effort could present the referrer page with clickable
paragraphs and other elements, to zoom in to what the commenter
wants to comment on. And an automatic diff could be prepared for
editors, and
Xah Lee [EMAIL PROTECTED] writes:
i had the pleasure to read the PHP's manual today.
http://www.php.net/manual/en/
although Pretty Home Page is another criminal hack of the unix lineage,
but if we are here to judge the quality of its documentation, it is a
impeccability.
it has or
Ben Finney wrote:
Ben Finney [EMAIL PROTECTED] wrote:
Summary: I'm looking for idioms in unit tests for factoring out
repetitive iteration over test data.
Thanks to those who've offered suggestions, especially those who
suggested I look at generator functions. This leads to::
Here's
Alan Kennedy wrote:
[Fredrik Lundh]
my point was that (unless I'm missing something here), there are at
least two widely used implementations (libxml2 and the 4DOM domlette
stuff) that don't interpret the spec in this way.
Libxml2dom is of alpha quality, according to its CheeseShop page
On 2005-12-02, Micah Elliott [EMAIL PROTECTED] wrote:
On Dec 02, Dave Hansen wrote:
Python recognizes the TAB character as valid indentation. TAB
characters are evil. They should be banned from Python source code.
AGREE! AGREE! AGREE!
The day TABs are banned from the source, I drop
Leo 4.4 alpha 4 is now available at:
http://sourceforge.net/project/showfiles.php?group_id=3458package_id=29106
To learn about Leo see http://webpages.charter.net/edreamleo/intro.html
Leo 4.4 a4 redraws the screen more quickly, corrects numerous bugs in the
4.4 code base, and introduces
Hmm, I though he explained it:
1) Not using your real name.
2) A yahoo, aol, or hotmail address.
In the ancient and hallowed (by net standards) history of Usenet, both
of these (particularly the first one) have been pretty good predictors
of
Pascal Bourguignon wrote:
Do you have an Approved by Xah Lee seal logo they could put on their web
page?
Funny, that'd *exactly* mirror the opinion I have of PHP :D
(btw, why is this posted to every newsgroup EXCEPT a PHP one? make us
feel good?)
--
Majority, n.: That quality that
Daniel Schüle wrote:
hi,
[...]
# pseudo code
i=2
lst=[i**=2 while i1000]
of course this could be easily rewritten into
i=2
lst=[]
while i1000:
i**=2
lst.append(i)
Neither of these loops would terminate until memory is exhausted. Do
you have a use case for a 'while' in a
On Tue, 6 Dec 2005 00:05:38 -0500,
François Pinard [EMAIL PROTECTED] wrote:
It's a relatively recent phenomenon that maintainers go berzerk, foaming
at the mouth over forms, borders, colors, and various other mania! :-)
It's largely to ensure that the ideas aren't lost. E-mail sits
[Fredrik Lundh]
but isn't libxml2dom just a binding for libxml2? as I mention above, I had
libxml2
in mind when I wrote widely used, not the libxml2dom binding itself.
No, libxml2dom is Paul Boddie's DOM API compatibility layer on top of
the cpython bindings for libxml2. From the CheeseShop
Do you have any experience with Python in SNMPv3 area?
I just realized that pySNMP we are using supports only v1 and v2c,
development version probably supports SNMPv3 but I am unable to find any
v3-specific documentation, could you help me?
Is there any other solution than pySNMP?
--
[EMAIL PROTECTED] wrote:
Steve,
You are right. I just test it. If users login application sucessfully,
then they can see hidden values by view source. Next time they can use
URL path ? key = value to open the second form. I will use session to
handle it.
By the way, do you write a book
Björn Lindström wrote:
Paul Rubin http://[EMAIL PROTECTED] writes:
[EMAIL PROTECTED] (Björn Lindström) writes:
Actually using tabs for eight spaces and then filling out with spaces to
the correct indentation is the convention for Emacs Lisp. Of course,
since everyone coding Emacs Lisp does
Daniel Schüle wrote:
I am wondering if there were proposals or previous disscussions in this
NG considering using 'while' in comprehension lists
# pseudo code
i=2
lst=[i**=2 while i1000]
I haven't had much need for anything like this. Can't you rewrite with
a list comprehension
Paul McNett a écrit :
Björn Lindström wrote:
Paul Rubin http://[EMAIL PROTECTED] writes:
[EMAIL PROTECTED] (Björn Lindström) writes:
Actually using tabs for eight spaces and then filling out with
spaces to
the correct indentation is the convention for Emacs Lisp. Of course,
since
Duncan Booth wrote:
Daniel Schüle wrote:
hi,
[...]
# pseudo code
i=2
lst=[i**=2 while i1000]
of course this could be easily rewritten into
i=2
lst=[]
while i1000:
i**=2
lst.append(i)
Neither of these loops would terminate until memory is exhausted. Do
you
Zeljko Vrba a écrit :
On 2005-12-02, Micah Elliott [EMAIL PROTECTED] wrote:
On Dec 02, Dave Hansen wrote:
Python recognizes the TAB character as valid indentation. TAB
characters are evil. They should be banned from Python source code.
AGREE! AGREE! AGREE!
The day TABs are banned
Daniel Schüle wrote:
hi,
[...]
# pseudo code
i=2
lst=[i**=2 while i1000]
of course this could be easily rewritten into
i=2
lst=[]
while i1000:
i**=2
lst.append(i)
Neither of these loops would terminate until memory is exhausted. Do you
have a use case for a 'while' in a list
Ulrich Hobelmann [EMAIL PROTECTED] writes:
btw, why is this posted to every newsgroup EXCEPT a PHP one?
Xah's a pretty well-known troll in these parts. I suppose he thinks someone
is going to take the bait and rush to defend the other languages or some
such nonsense.
sherm--
--
Cocoa
On Tue, 2005-12-06 at 10:44, Steve Holden wrote:
Daniel Schüle wrote:
i=2
lst=[]
while i1000:
i**=2
lst.append(i)
unless I am missing something obvious, I can not see why the loop should
not terminate
In that case, kindly explain how the condition i1000 can become
Steve Holden wrote:
lst=[i**=2 while i1000]
of course this could be easily rewritten into
i=2
lst=[]
while i1000:
i**=2
lst.append(i)
...
Don't you have an interpreter you could run the code in to verify that
it does indeed loop interminably? You seem to be assuming that the
On 2005-12-06, Steve Holden wrote:
Daniel Schüle wrote:
hi,
[...]
# pseudo code
i=2
lst=[i**=2 while i1000]
of course this could be easily rewritten into
i=2
lst=[]
while i1000:
i**=2
lst.append(i)
Neither of these loops would terminate until memory is exhausted. Do you
have
First of all, you need to use ordering to ensure that the database gives
you the most convenient order for processing, as this will make your
computations much easier. So I'd suggest sorting by clientNumber,
ServiceNumber, Begindate and Enddate. That way you can consider each
service
Dear all,
I'm a PhD researcher in logic at the University of Leiden in Holland.
At the present I'm doing a work about the implementation of some parts
of the Braille code related to the representation of the logical and
mathematical symbols.
In order to the well development of this work I will
the most recent version of PySNMP (like 4.1.x) has SNMP v3 support.
(not sure if its 100% or not...check with developer).
Anyhow I think the documentation explains how to use PySNMP
(http://pysnmp.sourceforge.net/docs/4.1.x/index.html) i think the
interface is common amongst the different
Alan Kennedy wrote:
Libxml2dom is of alpha quality, according to its CheeseShop page anyway.
Given that I gave it that classification, let me explain that its alpha
status is primarily justified by the fact that it doesn't attempt to
cover the entire DOM API. As I mentioned in my original
Hello,
I run exactly inside IronPython-0.9.5\bin where IronPython.dll exist.
I've already uninstalled my .net 1.1 so there is onle .net 2.0
pujo
--
http://mail.python.org/mailman/listinfo/python-list
Here are some thoughts on reorganizing Python's documentation, with
one big suggestion.
The tutorial seems to be in pretty good shape because Raymond
Hettinger has been keeping it up to date. It doesn't cover
everything, but it's a solid introduction, and if people don't find it
works for them,
On 6 Dec 2005 07:41:45 -0800, [EMAIL PROTECTED] wrote:
If one really wants a very messy one-liner, it is possible
import operator
x=3D[2]
lst=3Dlist(((operator.setitem(x,0,x[0]**2),x[0])[1] for _ in
xrange(1000) if x[0] 1000 or iter([]).next()))
Or
list(iter(lambda
Carsten Haese wrote:
On Tue, 2005-12-06 at 10:44, Steve Holden wrote:
Daniel Schüle wrote:
i=2
lst=[]
while i1000:
i**=2
lst.append(i)
unless I am missing something obvious, I can not see why the loop should
not terminate
In that case, kindly explain how the condition i1000 can
Bengt Richter wrote:
On 6 Dec 2005 07:41:45 -0800, [EMAIL PROTECTED] wrote:
If one really wants a very messy one-liner, it is possible
import operator
x=3D[2]
lst=3Dlist(((operator.setitem(x,0,x[0]**2),x[0])[1] for _ in
xrange(1000) if x[0] 1000 or iter([]).next()))
Or
A.M. Kuchling wrote:
The tutorial seems to be in pretty good shape because Raymond
Hettinger has been keeping it up to date. It doesn't cover
everything, but it's a solid introduction, and if people don't find it
works for them, they have lots of alternative books. No suggestions
here.
The
1 - 100 of 223 matches
Mail list logo