DirectX Screenshot with python possible?
I'm in need for a function that is able to make a screenshot from a directx full screen. PIL is only able to take a snapshot from the desktop, but not from any directx screen. Has someone a tip for an existing module? -- http://mail.python.org/mailman/listinfo/python-list
Are there any instrumentation widgets for wxpython or tkinter?
I searched for widgets used for PLC automation or lab instrumentation like gauges, led's etc. in the net, but didn't found anything because of those massive link spam sites. In the case there isn't any solution, with which toolkit would it be easiest to build gauges? -- http://mail.python.org/mailman/listinfo/python-list
Problem with inheritance
I have to classes a and b class a(object): def __init__(self,x): self.x = x self.build() def build(self): return class b(a): def __init__(self,x): a.__init__(self,x) self.y = 0 # ??? def build(self): # do something self.y += 2*self.x t = b(1) The line marked with "???" will no be executed and I don't know the reason. This example is working as intended, but not not the code I'm working on. I'm using Eclipse. I don't know how to debug this problem. -- http://mail.python.org/mailman/listinfo/python-list
Re: Problem with inheritance
On Oct 21, 10:07 am, Sverre wrote: > I have to classes a and b > > class a(object): > def __init__(self,x): > self.x = x > self.build() > > def build(self): > return > > class b(a): > def __init__(self,x): > a.__init__(self,x) > self.y = 0 # ??? > > def build(self): > # do something > self.y += 2*self.x > > t = b(1) > > The line marked with "???" will no be executed and I don't know the > reason. This example is working as intended, but not not the code I'm > working on. I'm using Eclipse. I don't know how to debug this > problem. I found the solution. I caused an exception in b.build that wasn't reported by Eclipse properly. -- http://mail.python.org/mailman/listinfo/python-list
Package problem
I'm using Ubuntu and some of the packages in the repository are too old. So I got the thought to remove nearly all packages downloaded from the repository and install them with easy_install. Is this a way to go without greater problems? -- http://mail.python.org/mailman/listinfo/python-list
Re: PIL: problem to convert an image array to PIL format
On 17 Des, 15:45, Peter Otten <__pete...@web.de> wrote: > > This has come up before, see > > http://mail.python.org/pipermail/python-list/2009-October/1221578.html > > Peter Thank you! -- http://mail.python.org/mailman/listinfo/python-list