The python docs are pretty clear that there is no way to external stop a
thread and this was a design decision.
Typically, I have used a threading.Event to control the actions of the
worker threads from a loop in the main program.
Setup each worker thread as a loop using the event.wait() method t
On Sat, May 28, 2011 at 5:55 AM, Greg Ewing wrote:
> Can anyone think of an efficient way to convert a string
> full of RGBA image data to BGRA, using only what's available
> in the standard library?
>
> I'm trying to add a function to PyGUI for creating an Image
> object from arbitrary data. The
Hello,
I am sorry for troubling people on this list, however, I am hoping
someone can steer me in the right direction.
I would like to create an Addin for MS-Office that would allow me to
store a copy of a document/email/spreadsheet in an external database.
IOW, when I have the doc/email/xls open
>
> I would caution you not to draw any conclusions based on the physical
> numbers. You WANT your system to be using all of its physical memory.
> Unused physical memory is just wasted money. The operating system will
> page things in and out as needed, on a demand basis, to make sure that
> pag
> from ctypes import *
> from ctypes.wintypes import *
>
> class MEMORYSTATUSEX(Structure):
>_fields_ = [
>('dwLength', DWORD),
>('dwMemoryLoad', DWORD),
>('ullTotalPhys', c_ulonglong),
>('ullAvailPhys', c_ulonglong),
>('ullTotalPageFile', c_ulonglong),
>
> There's no easy fix. Thumbnails and some kind of least-recently-used
> caching scheme are probably your best choices. As Steven pointed out,
> you could always install a Win64 system and a 64-bit Python. Then, you
> can get about 8TB of process space. However, that's not particularly
> friend
I am hoping someone could steer me in the right direction on how to
calculate the amount of RAM available to a process.
I found the post below from Tim Roberts - a belated thanks Tim for
your patient responses ! and it seems we regularly hit this limit.
We have an application that needs to displa
> You might take a look at Pyla. It's a print to fax library. I think it's
> kind of what you're talking about. I've been trying to hack it off and on
> for a while now as we only need a little of its functionality here at work.
> There isn't much for docs, so you'll have to read the source. Here's
> Hi Geoff,
>
> redmon: http://pages.cs.wisc.edu/~ghost/redmon/ might be an option for you.
> I use it for years now without any problems. In one case I provide printing
> capabilities inside citrix apps for vpn users and in an other case I
> extended an application with fax
Thanks for you guidance Tim. After reviewing I am coming to the same
conclusion.
> This is trickier than you might guess. Does the application actually
> write to the printer using a Windows printer driver? Some old
> applications that just used a printer for logging wrote directly to the
> par
Would creating a virtual print driver be possible with pywin32,
similiar to the windows pdf driver ?
WE have an old application that outputs data to a dotmatrix printer.
WE would like to extend this application and integrate it with another
application and the simplest way to do this would be to ca
On Fri, Aug 29, 2008 at 4:53 PM, Tim Roberts <[EMAIL PROTECTED]> wrote:
> geoff wrote:
>> Hi Folks;
>>
>> I have an application that stores images in a database.
>> When the images are extracted, we use the files extension and
>> os.startwith("fil
Hi Folks;
I have an application that stores images in a database.
When the images are extracted, we use the files extension and
os.startwith("filename") to allows the OS to select the users
desingated program to open the file.
Sometimes ... this goes astray. For some mysterious reason, WinXP's
f
ipatoryculture.org/. For the actual widget set, I have
started out in PyGTK, for skinning support and to ease Linux
portability. It's not at all hard to pull HWND's out of PyGTK. If the
idea of embedding an ActiveX control in PyGTK seems hilariously wrong
to you for some re
14 matches
Mail list logo