https://player.backtracks.fm/talkpython/m/100-guido-van-rossum
Both audio and transcript. There is more discussion of Guido's
pre-Python work than I have read before.
Discussion of Python 3 migration starts at 37:05. Guido says harder
than expected because Python was more popular than he
The lesson of this? Do not make mutable classes hashable.
That could be it! I'll try. Thanks a lot!
The obvious follow-up is to ask how to make an immutable class.
http://northernplanets.blogspot.com/2007/01/immutable-instances-in-python.h
tml
--
On 22/12/2009 16:33, John wrote:
Hi there,
I have a rather lengthy program that troubles me for quite some time. After
some debugging, I arrived at the following assertion error:
for e in edges.keys():
assert edges.has_key(e)
Oops!? Is there ANY way that something like this can
John wrote:
Hi there,
I have a rather lengthy program that troubles me for quite some time. After
some debugging, I arrived at the following assertion error:
for e in edges.keys():
assert edges.has_key(e)
Oops!? Is there ANY way that something like this can possibly happen?
Three
John schrieb:
Hi there,
I have a rather lengthy program that troubles me for quite some time. After
some debugging, I arrived at the following assertion error:
for e in edges.keys():
assert edges.has_key(e)
Oops!? Is there ANY way that something like this can possibly happen?
another thread can remove the key prior to the has_key call; or perhaps
edges isn't a real dictionary?
of course. But unless there is a way of using threading without being aware of
it, this is not the case. Also, edges is definitely a dict (has been declared
some lines before, and no
On Tue, Dec 22, 2009 at 8:56 AM, John j...@nurfuerspam.de wrote:
another thread can remove the key prior to the has_key call; or perhaps
edges isn't a real dictionary?
of course. But unless there is a way of using threading without being aware
of
it, this is not the case. Also, edges
John wrote:
another thread can remove the key prior to the has_key call; or perhaps
edges isn't a real dictionary?
of course. But unless there is a way of using threading without being aware of
it, this is not the case. Also, edges is definitely a dict (has been declared
some lines before,
En Tue, 22 Dec 2009 13:56:36 -0300, John j...@nurfuerspam.de escribió:
another thread can remove the key prior to the has_key call; or perhaps
edges isn't a real dictionary?
of course. But unless there is a way of using threading without being
aware of
it, this is not the case. Also,
On 12/23/2009 3:33 AM, John wrote:
Hi there,
I have a rather lengthy program that troubles me for quite some time. After
some debugging, I arrived at the following assertion error:
for e in edges.keys():
assert edges.has_key(e)
Oops!? Is there ANY way that something like this can
On 12/22/2009 11:33 AM, John wrote:
Hi there,
I have a rather lengthy program that troubles me for quite some time. After
some debugging, I arrived at the following assertion error:
for e in edges.keys():
assert edges.has_key(e)
If you are claiming that the above *did* raise
On Tue, 22 Dec 2009 17:47:14 +0100, Christian Heimes wrote:
John schrieb:
Hi there,
I have a rather lengthy program that troubles me for quite some time.
After some debugging, I arrived at the following assertion error:
for e in edges.keys():
assert edges.has_key(e)
Oops!? Is
On Tue, 22 Dec 2009 17:33:04 +0100, John wrote:
Hi there,
I have a rather lengthy program that troubles me for quite some time.
After some debugging, I arrived at the following assertion error:
for e in edges.keys():
assert edges.has_key(e)
Oops!? Is there ANY way that something
* Steven D'Aprano:
[snip]
The obvious follow-up is to ask how to make an immutable class.
http://northernplanets.blogspot.com/2007/01/immutable-instances-in-python.html
Thanks, I've been wondering about that.
By the way, the link at the bottom in the article you linked to, referring to an
Where can I find a Python functionality like simulink ?
Stef,
I saw this at:
http://showmedo.com/videotutorials/video?name=743fromSeriesID=743
Ray
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 27, 10:39 am, David Cournapeau courn...@gmail.com wrote:
On Tue, Jul 28, 2009 at 12:28 AM, Dotan Cohendotanco...@gmail.com wrote:
It is neither efficient or inefficient: it is just a distribution
tool, to deploy python software in a form familiar to most windows
users. It does not
Matlab, from The Mathworks, has a companion product called Simulink.
This allows the user to graphically build ‘algorithms’ in block form.
There is a similar Python function.
Where can I find a Python functionality like simulink ?
thanks,
Stef Mientki
--
Dotan Cohen dotanco...@gmail.com (DC) wrote:
DC Referring to this article:
DC
http://math-blog.com/2009/07/20/complex-algorithm-research-and-development-harder-than-many-think/
DC The author, who is specifically looking for math-related functions, writes:
DC
DC The dream algorithm RD tool
: Monday, July 27, 2009 11:18:20 AM
Subject: Re: Looking for a dream language: sounds like Python to me.
Dotan Cohen dotanco...@gmail.com (DC) wrote:
DC Referring to this article:
DC
http://math-blog.com/2009/07/20/complex-algorithm-research-and-development-harder-than-many-think/
DC The author
[corrected top posting]
Mohammad Tayseer wrote:
*From:* Piet van Oostrum p...@cs.uu.nl
*To:* python-list@python.org
*Sent:* Monday, July 27, 2009 11:18:20 AM
*Subject:* Re: Looking for a dream language: sounds like Python to me.
Dotan Cohen dotanco...@gmail.com mailto:dotanco...@gmail.com
Creating binaries is not the same as creating /fast, efficient/ binaries.
Py2Exe bundles it all together, but does not make it any faster.
How inefficient is py2exe. I was under the impression that it's really
not that bad.
--
Dotan Cohen
http://what-is-what.com
http://gibberish.co.il
--
On Mon, 27 Jul 2009 18:12:09 +0300, Dotan Cohen dotanco...@gmail.com wrote:
Creating binaries is not the same as creating /fast, efficient/ binaries.
Py2Exe bundles it all together, but does not make it any faster.
How inefficient is py2exe. I was under the impression that it's really
not
On Tue, Jul 28, 2009 at 12:12 AM, Dotan Cohendotanco...@gmail.com wrote:
Creating binaries is not the same as creating /fast, efficient/ binaries.
Py2Exe bundles it all together, but does not make it any faster.
How inefficient is py2exe.
It is neither efficient or inefficient: it is just a
On 2009-07-27, Dotan Cohen dotanco...@gmail.com wrote:
Creating binaries is not the same as creating /fast, efficient/ binaries.
??Py2Exe bundles it all together, but does not make it any faster.
How inefficient is py2exe.
[Assuming that was a question.]
py2exe just bundles up the files
It is neither efficient or inefficient: it is just a distribution
tool, to deploy python software in a form familiar to most windows
users. It does not make it any faster than running the software under
a python prompt.
As much as I like python for scientific programming, I would say
python
On Tue, Jul 28, 2009 at 12:28 AM, Dotan Cohendotanco...@gmail.com wrote:
It is neither efficient or inefficient: it is just a distribution
tool, to deploy python software in a form familiar to most windows
users. It does not make it any faster than running the software under
a python prompt.
Referring to this article:
http://math-blog.com/2009/07/20/complex-algorithm-research-and-development-harder-than-many-think/
The author, who is specifically looking for math-related functions, writes:
The dream algorithm RD tool would be similar to Matlab or Mathematica
but could be compiled to
On Feb 9, 5:08 am, jiddu [EMAIL PROTECTED] wrote:
I'm planning to create a poker calculator, I learned some basic in
highschool years ago and I was told for beginners Python is a good
language to start.
Be sure to check out the Python411 podcast
http://awaretek.com/python/index.html
Take
On 2007-02-09, jiddu [EMAIL PROTECTED] wrote:
Hi,
I'm planning to create a poker calculator, I learned some basic
in highschool years ago and I was told for beginners Python is
a good language to start.
Python *is* a good language to start.
What I wanted to do is to first write a program
Hi,
I'm planning to create a poker calculator, I learned some basic in
highschool years ago and I was told for beginners Python is a good
language to start.
What I wanted to do is to first write a program which will be able to run
through all the possible combinations of cards dealt out and use
jiddu wrote:
Hi,
I'm planning to create a poker calculator, I learned some basic in
highschool years ago and I was told for beginners Python is a good
language to start.
What I wanted to do is to first write a program which will be able to run
through all the possible combinations of
i hope you know that for this task, if you want it to be successfull,
you need a really big database. it sounds very simple to this. it
sounds like go through all possible permutations. before you start
writing any code take a pencil and a big paper and do some maths. i
sugesst you read and
i forgot a query language. something like postgre or mysql
On Feb 9, 7:37 am, azrael [EMAIL PROTECTED] wrote:
i hope you know that for this task, if you want it to be successfull,
you need a really big database. it sounds very simple to this. it
sounds like go through all possible
In [EMAIL PROTECTED],
jiddu wrote:
I'm planning to create a poker calculator, I learned some basic in
highschool years ago and I was told for beginners Python is a good
language to start.
There's a recipe in the Cookbook that might be interesting for you:
One resource you should always keep at hand is this extremely useful
Quick Reference:
http://rgruet.free.fr/PQR24/PQR2.4.html
Study it carefully, there is a lot in there that can teach you about
how Python works. Fire up IPython as well and start hacking!
2B
--
I think Python is for you.
lennart wrote:
Can you define 'large'? Is that large in code, or large in database? I
don't know which database is supported. If its a external db, like
MySql, the query is performed through the software of MySql, am I
right? If I'm correct, the 'slowness' comes
Yes of course python can handle of these things, but have you actually
compared them to something written in C? Even if the app was converted
into bytecode, it's still not as fast as an executable, that's all I am
saying.
Bruno Desthuilliers wrote:
[EMAIL PROTECTED] wrote:
By large I mean an
[EMAIL PROTECTED] wrote:
By large I mean an application with intensive operations, such as a
fancy GUI maybe a couple of threads, accessing a database, etc.
I am still fairly new to Python, I only started using it at the start
of this year and then stopped for a while. However the project I
[EMAIL PROTECTED] wrote:
By large I mean an application with intensive operations, such as a
fancy GUI maybe a couple of threads, accessing a database, etc.
Threads are handled by the OS. GUI are (usually) handled by a
lower-level lib like GTK or such. DB access mostly rely on the
particular
On Mon, 13 Nov 2006 09:11:13 -0800, lennart wrote:
Hi,
I'm planning to learn a language for 'client' software. Until now, i
'speak' only some web based languages, like php. As a kid i programmed
in Basic (CP/M, good old days :'-) ) Now i want to start to learn a
(for me) new computer
Mark Woodward wrote:
On Mon, 13 Nov 2006 09:11:13 -0800, lennart wrote:
Hi,
I'm planning to learn a language for 'client' software. Until now, i
'speak' only some web based languages, like php. As a kid i programmed
in Basic (CP/M, good old days :'-) ) Now i want to start to learn a
(for
By large I mean an application with intensive operations, such as a
fancy GUI maybe a couple of threads, accessing a database, etc.
lennart wrote:
[EMAIL PROTECTED] schreef:
As stated above python is capable of all those things, however on
larger applications like that it can tend to slow
By large I mean an application with intensive operations, such
as a fancy GUI maybe a couple of threads, accessing a
database, etc.
I can't say I've had any python related problems on such matters.
I've done some modestly large-sized apps, and the bottlenecks
are almost always I/O
Hi,
I'm planning to learn a language for 'client' software. Until now, i
'speak' only some web based languages, like php. As a kid i programmed
in Basic (CP/M, good old days :'-) ) Now i want to start to learn a
(for me) new computer language.
I like Python. Its free, easy to learn and some
In article [EMAIL PROTECTED],
lennart [EMAIL PROTECTED] wrote:
Hi,
I'm planning to learn a language for 'client' software. Until now, i
'speak' only some web based languages, like php. As a kid i programmed
in Basic (CP/M, good old days :'-) ) Now i want to start to learn a
(for me) new computer
As stated above python is capable of all those things, however on
larger applications like that it can tend to slow down a bit. And the
executables do need a little bit of work, because it's bassicly a dll
and a library of all your .pyc files. However python is still a great
language and I would
lennart wrote:
But I'm not a full-time programmer. I know, that I've only time
possibility to learn one (= 1) language good. So i ask myself is python
the language I'm looking for?
Yep! Python is very much a jack-of-all-trades language. I've used it
for similar tasks, including as a
On Mon, 2006-11-13 at 10:14 -0800, Dan Lenski wrote:
lennart wrote:
So i ask myself is python the language I'm looking for?
Yep! Python is very much a jack-of-all-trades language.
I'll run the risk of being nitpicky, but the full phrase is Jack of all
trades, master of none, which doesn't
of the difficulty, but because of the time
and so.
Later, i remembered that Gimp can also work with python (scripts). So,
even for my second wish, there will be somewhere, somehow a way to do
it.
At least: i use the dutch portal http://python.startpagina.nl/ to start
with. Can you advice me a good Python
[EMAIL PROTECTED] schreef:
As stated above python is capable of all those things, however on
larger applications like that it can tend to slow down a bit. And the
executables do need a little bit of work, because it's bassicly a dll
and a library of all your .pyc files. However python is
the heavy-lifting. The easy integration between Python and C (compared
to a couple other popular platforms) is what drove me to Python.
Make it work first. Then optimize. And Python helps both.
Stephen
lennart escreveu:
[EMAIL PROTECTED] schreef:
As stated above python is capable of all those
In article [EMAIL PROTECTED],
lennart [EMAIL PROTECTED] wrote:
.
.
.
At least: i use the dutch portal http://python.startpagina.nl/ to start
with. Can you advice me a good Python interpreter, or a good startpage
(as in Python
Hi Carsten
I'll run the risk of being nitpicky, but the full phrase is Jack of all
trades, master of none, which doesn't do Python justice. Python is a
master of all trades!
FYI that's only *one* version of 'the full phrase'. I, for instance, am
a 'Jack of all trades, master of many'. I
At least: i use the dutch portal http://python.startpagina.nl/ to start
with. Can you advice me a good Python interpreter, or a good startpage
(as in Python for dummys)?
Lennart
--
http://mail.python.org/mailman/listinfo/python-list
check http://www.diveintopython.org/
pretty good book
, master of none, which doesn't do Python justice. Python is a
master of all trades!
Indeed! That's why I left out the master of none prt :-) For me,
Python is jack of all trades, master of everything I've thrown at it
so far.
Dan
--
http://mail.python.org/mailman/listinfo/python-list
lennart schreef:
[*] As a photographer i like to build a picture management system
Cornice, a cross-platform image viewer, might be a good start.
Features
Here is a list of the main features of Cornice:
* Fully cross-platform: it should run wherever wxPython does;
* Detail and
56 matches
Mail list logo