WCK and PIL

2010-02-05 Thread darnzen
I've written an app using the wck library (widget construction kit, see http://www.effbot.org), in addition to the wckGraph module. What I'd like to do, is take the output of one of my windows (happens to be a graph), and save it as a *.png or *.gif. I was planning on using the PIL for this. I'd li

Re: WCK and PIL

2010-02-07 Thread darnzen
On Feb 6, 10:19 pm, Nobody wrote: > On Fri, 05 Feb 2010 21:05:53 -0800, darnzen wrote: > > I've written an app using thewcklibrary (widget construction kit, > > seehttp://www.effbot.org), in addition to the wckGraph module. What > > I'd like to do, is take the outpu

staticmethod and namespaces

2010-02-25 Thread darnzen
Having an odd problem that I solved, but wondering if its the best solution (seems like a bit of a hack). First off, I'm using an external DLL that requires static callbacks, but because of this, I'm losing instance info. It will make more sense after I diagram it: #Module main.py class App:

staticmethod and namespaces

2010-02-25 Thread darnzen
Having an odd problem that I solved, but wondering if its the best solution (seems like a bit of a hack). First off, I'm using an external DLL that requires static callbacks, but because of this, I'm losing instance info. It could be import related? It will make more sense after I diagram it: #Mo

Re: staticmethod and namespaces

2010-02-26 Thread darnzen
On Feb 26, 3:15 am, "Diez B. Roggisch" wrote: > Am 26.02.10 06:07, schrieb darnzen: > > > > > > > Having an odd problem that I solved, but wondering if its the best > > solution (seems like a bit of a hack). > > > First off, I'm using a

Re: staticmethod and namespaces

2010-02-26 Thread darnzen
On Feb 26, 1:12 am, Steven D'Aprano wrote: > On Thu, 25 Feb 2010 21:07:55 -0800, darnzen wrote: > > Having an odd problem that I solved, but wondering if its the best > > solution (seems like a bit of a hack). > > > First off, I'm using an external DLL t

Re: staticmethod and namespaces

2010-02-26 Thread darnzen
On Feb 26, 9:41 am, "Diez B. Roggisch" wrote: > Am 26.02.10 16:32, schrieb darnzen: > > > > > > > On Feb 26, 3:15 am, "Diez B. Roggisch"  wrote: > >> Am 26.02.10 06:07, schrieb darnzen: > > >>> Having an odd problem that I solve

Re: staticmethod and namespaces

2010-02-26 Thread darnzen
On Feb 26, 9:41 am, "Diez B. Roggisch" wrote: > Am 26.02.10 16:32, schrieb darnzen: > > > > > > > On Feb 26, 3:15 am, "Diez B. Roggisch"  wrote: > >> Am 26.02.10 06:07, schrieb darnzen: > > >>> Having an odd problem that I solve

Re: staticmethod and namespaces

2010-02-26 Thread darnzen
On Feb 26, 10:20 am, "Diez B. Roggisch" wrote: > Am 26.02.10 17:08, schrieb Diez B. Roggisch: > > > > > > > Am 26.02.10 16:57, schrieb darnzen: > >> On Feb 26, 9:41 am, "Diez B. Roggisch" wrote: > >>> Am 26.02.10 16:32, schri