Steve Juranich wrote:
Derick van Niekerk wrote:
(snip)
I would like to start my next web project (a database of demographic
info on scientists in Africa) on Zope 3. Could anybody point me in the
right direction? Where should I start?
After you look through the tutorial (which is simply a
Behalf Of sturlamolden
Ryan Ginstrom wrote:
Yes, I've tried something similar with wxGlade.
But GLADE is not wxGlade :-)
Yes, I'm just saying that I've done something similar to your example. In
fact, wxCard also does this auto-generation of handlers. That's a start, but
it's still
http://sourceforge.net/projects/mysql-python
--
http://mail.python.org/mailman/listinfo/python-list
Lawrence D'Oliveiro wrote:
In article [EMAIL PROTECTED],
Paul Sijben [EMAIL PROTECTED] wrote:
I found that the problem was caused by the sending thread not giving
control back quickly enough to the receiving thread.
Also in going through the code I found an old self.s.setblocking(0)call
Hi all,
When I use my win32com.server object from an excel client, the python
process running the server always has __debug__==True. When using a
python client the __debug__ flag for the server is determined by the
client (i.e. if I start the client with 'python -o client.py' then
__debug__ ==
Check out SciTE. It is from the creator of Scintilla and it's great.
It's not a full IDE but with python you'll learn you really don't need
it, at least IMHO. It's fast and works on windows and Linux.
http://www.scintilla.org/SciTE.html
I would also checkout WingIDE. Its one of the best, again
What is pythonic? See:
http://faassen.n--tree.net/blog/view/weblog/2005/08/06/0
bruno at modulix schrieb am 25.04.2006 17:10:
Benji York wrote:
bruno at modulix wrote:
Zope is a world in itself - and is certainly not the simplest tool to
learn (nor the most pythonic).
Those statements
sturlamolden wrote:
Robert Kern wrote:
- gcc does not optimize particularly well.
That is beyond BS.
The more recent gcc releases optimize as well as any
commercial compiler.
This is an outrageous claim. Having worked a bit doing
compilers, I no of no commercial compiler that would
Ryan Ginstrom wrote:
But I don't want to argue this point, just state that this isn't the problem
I want to solve. I really liked the idea of KVO/KVC in Cocoa that James
Stroud mentioned. That is what I am after, or something like that. If there
isn't anything like that, I think that it
bruno at modulix wrote:
Actually, the OP was asking about Zope3, which is a *very* different
beast.
Okay, so my ignorance is showing (/me pauses to stuff it back where it
belongs). So is there some big master diff, along the lines of What's new
in Python X.X that I could look at to get an
Hello !
I want to create entry widgets dynamically.
var = [one, two, three]
i=0
for x in var:
textbox = t_, x
textbox = entry(frame)
textbox.grid(row=4+i, column=0)
i = i + 1
This works ok. On the window are the entries like I want.
When I want to get to entered data from the
Hello all. Awhile back I was playing with win32all package to get system
information from the Dell PCs. However, I'm using a win32 program, bginfo,
to get the information on the PC and insert it into a MySQL database. Of
the fields I'm recording, I am saving the system serial number.
I was
Alex Martelli wrote:
At the same time, if the 14% slowdown is representative, then it's not
true that the compiler responsible for it optimizes as well as the
other; indeed, does not optimize particularly well, under such a
hypothesis, would be far from a beyond BS assertion.
Maybe someone
Alex Martelli wrote:
about MacOSX, which also uses gcc: 14% faster pybench using Python 2.4.3
this is the second time I've seen that 14% figure. OOC, where does it come
from? the data sets you posted show an average 12.6% speedup. 14 is an
odd way to round. :)
I don't think it's very useful
Brian Elmegaard wrote:
Martin v. Löwis [EMAIL PROTECTED] writes:
You can build the entire Python interpreter with Cygwin (but you
don't need to, because there is a precompiled version), and you can
build extensions for the python.org binary using MingW.
Great, then I tend to agree that
I know I can use urllib2 to get at a website given urllib2.urlopen(url)
but I'm unsure how to then go through all pages that are linked to it,
but still in the domain. If I want to search through the entire python
website give the homepage, how would I go about it? I don't reinvent
the wheel if
Or mxODBC
http://www.egenix.com/files/python/mxODBC.html
rpd
--
http://mail.python.org/mailman/listinfo/python-list
John Machin wrote:
On 25/04/2006 6:26 PM, Iain King wrote:
iain = re.compile((Ia(i)?n|Eoin))
steven = re.compile(Ste(v|ph|f)(e|a)n)
IMHO, the amount of hand-crafting that goes into a *general-purpose*
phonetic matching algorithm is already bordering on overkill. Your
method using REs would
On Tue, 25 Apr 2006 09:51:42 -0500, Thomas Bartkus wrote:
Anthony Greene [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello, I know this isn't really a python centric question, but I'm seeking
help from my fellow python programmers. I've been learning python for the
past year
John Machin wrote:
On 25/04/2006 3:15 PM, Edward Elliott wrote:
Phoneme matching seems overly complex and might
grab things like Tsu-zi.
It might *only* if somebody had a rush of blood to the head and devised
yet another phonetic key algorithm. Tsuzi does *not* give the same
result as any
Bell, Kevin wrote:
I know I can use urllib2 to get at a website given urllib2.urlopen(url)
but I'm unsure how to then go through all pages that are linked to it,
but still in the domain. If I want to search through the entire python
website give the homepage, how would I go about it?
use a
bruno at modulix wrote:
class Base(object):
def __init__(self, arg1):
self.attr1 = arg1
self.dothis()
def dothis(self):
return self.attr1
class Derived(Base):
def __init__(self, arg1, arg2=0):
self.attr2 = arg2
Base.__init__(self, arg1)
def
Steve Juranich schrieb am 25.04.2006 18:24:
bruno at modulix wrote:
Actually, the OP was asking about Zope3, which is a *very* different
beast.
Okay, so my ignorance is showing (/me pauses to stuff it back where it
belongs). So is there some big master diff, along the lines of What's
Edward Elliott wrote:
if so, i do see good reason to build with mingw instead of gcc/cygwin.
MinGW and Cygwin GCC is actually the same compiler. On Cygwin you can
remove the dependency on the cygwin dll by compiling with -mno-cygwin.
But as long as the cygwin dll is there, it creates an
[EMAIL PROTECTED] wrote:
Im trying to create a version of the game Wumpus. Mine is called
Belzebub. But im STUCK! And its due tuesday 2 maj. Im panicing! Can
some one help me??
here is the file:
http://esnips.com/webfolder/b71bfe95-d363-4dd3-bfad-3a9e36d0
What i have the biggest
connyledin wrote:
Im trying to create a version of the game Wumpus. Mine is called
Belzebub. But im STUCK! And its due tuesday 2 maj. Im panicing! Can
some one help me??
here is the file:
http://esnips.com/webfolder/b71bfe95-d363-4dd3-bfad-3a9e36d0
What i have the biggest problems with
Arne wrote:
I want to create entry widgets dynamically.
var = [one, two, three]
i=0
for x in var:
textbox = t_, x
textbox = entry(frame)
textbox.grid(row=4+i, column=0)
i = i + 1
This works ok. On the window are the entries like I want.
When I want to get to entered
use a search engine (try the search box in the upper right corner).
using a spider to download the entire site just so you can search
through it is bloody impolite.
Really? I'd argue that's impolite only if you're an impolite person
with a rude agenda, which is not what I had in mind, but
[EMAIL PROTECTED] wrote:
It's less explicit than self. but it's shorter, this improves typing,
and allows to produce more compact code:
return .join([Graph(, repr($o), , , repr($nodeData), )])
Instead of:
return .join([Graph(, repr(self.o), , , repr(self.nodeData),
)])
It also
[Elliot Temple]
I think I got it. I noticed my code is essentially the same as Tim
Peter's (plus the part of the problem he skipped). I read his code 20
minutes before recreating mine from Alex's hints. Thanks!
def main():
ways = ways_to_roll()
total_ways = float(101**10)
I have been using ZOPE (mostly with CMF/Plone) for a couple years now.
MY recolleciton of the initial leraning curve, was hours reading
through source code, newsgroups, web site, outdated garbage, days long
marathons of coffee, beer and very little sleep.
After about 2 weeks of this horrible
sturlamolden wrote:
MinGW and Cygwin GCC is actually the same compiler. On Cygwin you can
remove the dependency on the cygwin dll by compiling with -mno-cygwin.
But as long as the cygwin dll is there, it creates an overhead for any
system call.
Thanks for that very informative post! To
the file is on that side. But apparently you have to register to
download it.. =( But i can send it to anone who is willing to look
trough it. just send me an email [EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
the file is on that side. But apparently you have to register to
download it.. =( But i can send it to anone who is willing to look
trough it. just send me an email [EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
Steve Juranich:
is there some big master diff, along the lines of What's new
in Python X.X that I could look at to get an idea of what z3 has that 2.9
(which I'm currently still cutting my teeth on) doesn't?
It's a redesign.
Z2: mixin base classes
Z3: component architecture with interfaces
Thomas Bartkus wrote:
Tis the conundrum of programming in general. If all you know how to do is
write code - then you truly have nothing to do. What *other* interests do
you have? Hobbies? Job Skills?
What *does* blow your hair back ;-)
That's where your programming ideas need to come
Hi All,
While working on a project, I discovered lots of
little opportunities for real parallelism. For
instance, the following class initialization:
from pg import DB
class example:
def __init__(self):
# find somehow HOST1, HOST2
Thats the best way to go about it. Python I find is fun because you
can just play with the interpreter throwing commands at it and really
just working with syntax and usually POC ideas. The most useful ideas
usually just come to you. I recieved a pretty barebones MP3 player
from my sister for
Does anyone know if PyThreadState_SetAsyncExc stops a thread while its
inside a native extension ?
I'm trying to stop a testing script that boils down to this:
while True:
print aaa
native_extension_call()
print bbb
Using PyThreadState_SetAsyncExc the module doesn't stop but if I add
Anthony Greene wrote:
So true man, I guess I need to truly sit down and determine these things.
I love to do a lot of things, read, hang out, skate, which are a few
amongst other things
From the skating:
OK, say you have a 3-d surface, what is the path a ball bearing with a
particular
Criticism versus Constructive Criticism
Xah Lee, 2003-01
A lot intelligent people are rather confused about criticism,
especially in our “free-speech” free-for-all internet age. When
they say “constructive criticisms are welcome” they mostly mean
“bitching and complaints not welcome”. Rarely do
Fredrik Lundh wrote:
however, note that the FAQ entry says that you can use an existing
LIB file as well, so Python's standard import library should work.
Right. MingW (GNU ld) was (apparently) changed to support that shortly
after I started including libpython24.a files with the Windows
Several methods in Queue.Queue have warnings in their doc strings that they
are not reliable (e.g., qsize). I note that the code in all these methods
is bracketed with lock acquire/release. These locks are intended to
protect the enclosed code from collisions with other threads. I am
wondering
[Jeffrey Barish]
Several methods in Queue.Queue have warnings in their doc strings that they
are not reliable (e.g., qsize). I note that the code in all these methods
is bracketed with lock acquire/release. These locks are intended to
protect the enclosed code from collisions with other
Xah Lee [EMAIL PROTECTED] writes:
A large amount of free, constructive criticism follows.
1. Learn where to post things.
Criticism versus Constructive Criticism
2. Learn when to capitalize words in a title.
Xah Lee, 2003-01
3. Learn when to post things.
A lot intelligent people are
I am trying to install pCFITSIO on my Mac (Mac OS X.4. Numarray is already installed and imports fine in python (ActivePhyton v2.4.2), but when I try to build pCFITSIO itfails in finding a number of .h files for numarray. [tgravi] Desktop/pCFITSIO-0.99.3 -python setup.py buildrunning buildrunning
Brian Elmegaard wrote:
That is simply not true.
Actually, you answered me then too. I misunderstood after reading
http://sebsauvage.net/python/mingw.html.
Is the information on that page not correct? Has it never been?
It's not correct, to the best of my knowledge. However, since
very
Bell, Kevin wrote:
use a search engine (try the search box in the upper right corner).
using a spider to download the entire site just so you can search
through it is bloody impolite.
Really? I'd argue that's impolite only if you're an impolite person
with a rude agenda, which is not what
Edward Elliott wrote:
Thanks for that very informative post! To clarify, mingw (aka gcc
-mno-cygwin) has no POSIX layer like cygwin. Because your post could also
be (incorrectly) interpreted to mean mingw removes the cygwin dll
dependency by just linking it in statically. But I googled and
sturlamolden wrote:
- there is no build process available to do that
In MSYS:
$ ./configure --prefix=/c/mingw
$ make
$ make install
This should be obvious to any with Unix experience.
MinGW actually distribute precompiled Python binaries as well (in
MSYS-DTK).
So how does that
This may be a foolish question, but what's the most straightforward way to
plot a bunch of data in Python?
That is, I want to write a program that does some number crunching, and then
I want to change some parameters and watch how the changes affect the
results. I could produce a file to hand
PAolo [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
for i in range(1,10):
if i%2:
odd.append(i)
else:
even.append(i)
In 2.5 you'll be able to say
for i in range(1,10):
(odd if i%2 else even).append(i)
Whether you want to
Try matplotlib, it's pretty nice and easy to use.
--
http://mail.python.org/mailman/listinfo/python-list
sturlamolden wrote:
MinGW and Cygwin GCC is actually the same compiler.
Not exactly. They're both GCC, but the MinGW compiler that you can
download from MinGW WWW site is a native Win32 appliction, while the
MinGW compiler included with Cygwin and invoked by -mno-cygwin is a
Cygwin
Andrew Koenig wrote:
This may be a foolish question, but what's the most straightforward way to
plot a bunch of data in Python?
That is, I want to write a program that does some number crunching, and
then I want to change some parameters and watch how the changes affect the
results. I
sturlamolden wrote:
MinGW can compile MFC. Download Windows Platform SDK and you get the
MFC source.
Do not do this. The Platform SDK's EULA does not permit you to
redistribute anything you build from the MFC sources included in the
SDK. The only way to get a copy of MFC that you can
Andrew == Andrew Koenig [EMAIL PROTECTED] writes:
Andrew This may be a foolish question, but what's the most
Andrew straightforward way to plot a bunch of data in Python?
in matplotlib/pylab
from pylab import figure, show
x = range(10)
y = [val**2 for val in x]
fig = figure()
Edward Elliott wrote:
Couldn't you compile the msvc-python code under gcc/mingw?
Yes I could, but I cannot compile the code under msvc for comparison. I
only have MinGW. If build the mingw binary then someone else has to
build the msvc binary for comparison. Then we could do pybenches on the
Duncan Booth a écrit :
bruno at modulix wrote:
class Base(object):
def __init__(self, arg1):
self.attr1 = arg1
self.dothis()
def dothis(self):
return self.attr1
class Derived(Base):
def __init__(self, arg1, arg2=0):
self.attr2 = arg2
Base.__init__(self, arg1)
Bell, Kevin wrote:
use a search engine (try the search box in the upper right corner).
using a spider to download the entire site just so you can search
through it is bloody impolite.
Really? I'd argue that's impolite only if you're an impolite person
with a rude agenda, which is not
Steve Juranich a écrit :
bruno at modulix wrote:
Actually, the OP was asking about Zope3, which is a *very* different
beast.
Okay, so my ignorance is showing (/me pauses to stuff it back where it
belongs). So is there some big master diff, along the lines of What's new
in Python X.X
Remote Python Call 2.50 release-candidate
http://rpyc.wikispaces.com
-tomer
--
http://mail.python.org/mailman/listinfo/python-list
Would these contestants please GET OFF THE LIST with their
non-Python-related contentiousness?
Mark F. Morss
Principal Analyst, Market Risk
American Electric Power
Ari Johnson
Martin v. Löwis wrote:
Well, there is no native C library on Microsoft Windows: the system
simply doesn't include an official C library (I know there is crtdll.dll
and msvcrt.dll, but these aren't endorsed system C libraries).
MSVCRT.DLL has been a standard system compent of Windows since at
sturlamolden wrote:
But as long as the cygwin dll is there, it creates an overhead for any
system call. The worst overhead is associated with the Unix fork()
system call, which Cygwin must emulate as there are no Win32
equivalent. In particular, a fork() on Unix will be optimized with
Hello,
In the following cgi program, I cannot get subprocess output.
I print the header, flush stdout to prepare it to new content,
but variable 'o' is always empty.
Could somebody help me with that?
def main():
print Content-type: text/html\n\n
sys.stdout.flush()
if
Jeffrey Barish wrote:
Several methods in Queue.Queue have warnings in their doc strings that they
are not reliable (e.g., qsize). I note that the code in all these methods
is bracketed with lock acquire/release. These locks are intended to
protect the enclosed code from collisions with other
sturlamolden wrote:
Edward Elliott wrote:
Couldn't you compile the msvc-python code under gcc/mingw?
Yes I could, but I cannot compile the code under msvc for comparison. I
only have MinGW. If build the mingw binary then someone else has to
build the msvc binary for comparison. Then we
Hi Martin
Pretty much exactly what I wanted :)
How up-to-date does Debian keep its package list for python addons, or
are you running Unstable? My big problem, being in South Africa, is
that I have to get any distros on cover CDs or order from
distro-resellers, and they never have Testing or
Martin v. Löwis wrote:
Well, you are not compiling with neither mingw, nor cygwin; you are
compiling with gcc in either case.
touche, mr. pedant. :)
Well, there is no native C library on Microsoft Windows: the system
simply doesn't include an official C library (I know there is crtdll.dll
Ross Ridge wrote:
MSVCRT.DLL ... It's not
exactly endorsed, Microsoft would rather you use it's current
compiler and runtime, but it is the standard official Windows system
C library.
Does it comply with the ANSI C89 standard? I'm still not seeing why mingw
can't just link python to it.
--
bruno at modulix a écrit :
Lawrence D'Oliveiro wrote:
In article [EMAIL PROTECTED],
bruno at modulix [EMAIL PROTECTED] wrote:
Lawrence D'Oliveiro wrote:
(snip)
I suppose this is an instance of the more general rule: using OO when
you don't have to.
Lawrence, I'm afraid you're
The simplest and most widely known Monty Python image I can think of is
a dead parrot.
So maybe an upside-down parrot?
Could be nice and colorful too, not to mention memorable.
It is true that many won't make the connection between some kind of
Monty Python image and the Python language, as they
Fredrik wrote:
to grab entire sites ?
try doing that on a commercial data provider's site, and chances are
that you'll end up being banned (or sued) within hours ...
-
Me:
Nope, I never said that to start with...
Well I certainly am learning a lot. I never said I intended to
Edward Elliott wrote:
Sorry, I didn't mean you personally, I meant you in the general sense.
OK :-)
I've just tried to build Python 2.4.3 with MinGW (MSYS 1.0.10, GCC
3.4.2):
$ ./configure --prefix=/c/Python243-mingw
$ make
The build then failed on posixmodule.c.
Sturla Molden
Edward Elliott wrote:
Ross Ridge wrote:
MSVCRT.DLL ... It's not
exactly endorsed, Microsoft would rather you use it's current
compiler and runtime, but it is the standard official Windows system
C library.
Does it comply with the ANSI C89 standard? I'm still not seeing why mingw
can't just
sturlamolden:
Uh .. I actually think it could be an EULA violation to publish mingw
vs. msvc benchmarks without permission from Microsoft. I don't want to
part of anything illegal or have M$ lawyers breathing down my back. If
we are going to do this, then we must do it properly and get the
Martin v. Löwis wrote:
Please believe me: there is currently no build process that
gives the same results as the build process used. It might
be fairly easy to create one, but none exists as of today.
I tried to build with MinGW this eveing and it failed. I believe you We
need to make a
In article [EMAIL PROTECTED],
Andrew Koenig [EMAIL PROTECTED] wrote:
This may be a foolish question, but what's the most straightforward way to
plot a bunch of data in Python?
That is, I want to write a program that does some number crunching, and then
I want to change some parameters
Look what I just found:
http://jove.prohosting.com/iwave/ipython/pyMinGW.html
A build process for python 2.4.2 (i.e. not the latest) for MinGW.
--
http://mail.python.org/mailman/listinfo/python-list
Martin v. Löwis wrote:
Right. MingW (GNU ld) was (apparently) changed to support that shortly
after I started including libpython24.a files with the Windows
distributions.
A bug in binutils support for short import library records was fixed
about year ago. You need to use MinGW binutils
Ari Johnson [EMAIL PROTECTED] wrote:
24. Learn when not to reply to a troll (and bother several groups while
doing so).
--
John Bokma Freelance software developer
Experienced Perl programmer: http://castleamber.com/
--
I don't understand what is the difference between commented lines
1 and 2
with 1 uncommented and 2 commented it works as expected
with 1 commented and 2 uncommented the picture doesn't appear
here is my code
#!/usr/bin/env python
from Tkinter import *
from Tkconstants import *
root = None
Schüle Daniel wrote:
I don't understand what is the difference between commented lines
1 and 2
with 1 uncommented and 2 commented it works as expected
with 1 commented and 2 uncommented the picture doesn't appear
I'm not familiar with Tkinter, but it seems as thought with 2, the
image
Hi
I am going through some tutorials, how do I find out about running a
script from the python prompt?
is there a online ref and how to access it?
thank you
--
http://mail.python.org/mailman/listinfo/python-list
Farshid Lashkari schrieb:
Schüle Daniel wrote:
I don't understand what is the difference between commented lines
1 and 2
with 1 uncommented and 2 commented it works as expected
with 1 commented and 2 uncommented the picture doesn't appear
I'm not familiar with Tkinter, but it seems as
Dennis Lee Bieber wrote:
On 23 Apr 2006 23:49:51 -0700, placid [EMAIL PROTECTED] declaimed the
following in comp.lang.python:
Just wondering if the cmd module in python uses busy waiting for
polling user command input as this is inefficient.
Use the Source...
At least on
Schüle Daniel wrote:
thx for quick reply :)
image is local variable of imageLabel
I would expect that in case imageLabel lives, it should
hold alife objects bound to its local variables
I am just curious *why* reference to image is not hold by imageLabel
which on his part is hold by
Bell, Kevin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I would like some feedback about my actual intention though, which is to
scrape local newspaper websites for the names of people that I work
with. Twice this month, colleagues have unknowingly been in the
newspaper, and
[..]
These are the only lines of code that reference imageLabel:
imageLabel = Label(master = frame1, image = image)
imageLabel.pack()
Unless the constructor of Label adds a reference of itself to frame1,
imageLabel will also become garbage collected at the end of the
constructor.
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Would these contestants please GET OFF THE LIST with their
non-Python-related contentiousness?
[snip long repost of the very stuff complained about]
--
http://mail.python.org/mailman/listinfo/python-list
Gary Wessle wrote:
Hi
I am going through some tutorials, how do I find out about running a
script from the python prompt?
Normally you don't do that.
What OS and Python versions are you using?
Do think about following the advice in smart questions.
is there a online ref and how to access
Xah Lee [EMAIL PROTECTED] writes:
A large amount of free, constructive criticism follows.
Just the usual repetitive content free stream-of-consciousness
material that Xah Lee is notorious for.
--
http://mail.python.org/mailman/listinfo/python-list
suggest add do while loop in later version
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
the file is on that side. But apparently you have to register to
download it.. =( But i can send it to anone who is willing to look
trough it. just send me an email [EMAIL PROTECTED]
Ok, e-mail it to me.
But I cannot guarantee anything. I'll peruse it at my leisure.
On 2006-04-25, Farshid Lashkari [EMAIL PROTECTED] wrote:
Schüle Daniel wrote:
I don't understand what is the difference between commented lines
1 and 2
with 1 uncommented and 2 commented it works as expected
with 1 commented and 2 uncommented the picture doesn't appear
I'm not familiar
Anthony Greene wrote:
Hello, I know this isn't really a python centric question, but I'm seeking
help from my fellow python programmers. I've been learning python for the
past year and a half, and I still haven't written anything substantial nor
have I found an existing project which blows my
I've been trying to make python a dynamic library. I downloaded Python
2.4.3 Final from the Python web site and I cannot get it to create the
library.
I've tried using the directive:
--enable-shared
and
--enable-shared=yes
and both of them had the same effect of creating a bunch of parts of
On 2006-04-25, Schüle Daniel [EMAIL PROTECTED] wrote:
I'm not familiar with Tkinter, but it seems as thought with 2,
the image variable is garbage collected after the
constructor of Main is called. With 1, you save a reference to
the image, so it does not get garbage collected.
Correct.
What do i expect the begin method to do ?
Explicitly start a transaction (and therefore suppress autocommits) in
an environment where autocommit is on.
No i haven't read the pep, thanks for that.
--
http://mail.python.org/mailman/listinfo/python-list
101 - 200 of 234 matches
Mail list logo