Re: How to control the creation of an instance?

2007-06-03 Thread KingMax
On Jun 3, 2:17 pm, 7stud <[EMAIL PROTECTED]> wrote: > On Jun 2, 10:31 pm, lialie <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > suppose i have a free_object list[Sample1, Smaple2]. when create a > > new object sample(*args, **kwds), if free_object_list isn't empty, just > > pop one from free_ob

Re: Problem with write binary data to OLE field in Access

2008-03-28 Thread KingMax
On 3月27日, 下午7时22分, Tim Golden <[EMAIL PROTECTED]> wrote: > lialie wrote: > > [... snip slightly confused indication that reading back a > binary item using GetChunk appears to double its length ...] > > Well I don't know why this should be happening, but I do at > least have a few suggestions: > >

Is it good to create a thread in a non gui thread?

2006-12-14 Thread Lialie - KingMax
Hi, I create a thread in a non gui thread, and it does well. But it seems strange. Somebody told me better not for it may cause something hard to imagine. Is there any different between them? THX -- http://mail.python.org/mailman/listinfo/python-list

Re: hyperthreading locks up sleeping threads

2006-05-09 Thread Lialie KingMax
I haven't try the files yet. But have got a similar problem before. The situation is nearly the same. Always at random time , it reported that the memory read or write violently.But I use Windows 2000(Python 2.3, wxPython 2.4). Windows issue says 2000 doesn't support HP, so I simply turn it off. I

how to read a list from python in C?

2006-05-19 Thread Lialie KingMax
Hi, all I am writing a C extension with .Net. Now I have a list of points, like [(0.0, 0.0), (2.0, 3.0), (random x, random y)]. Is there a better way to translate it to an array than doing it one by one? Thanks -- http://mail.python.org/mailman/listinfo/python-list