First  |  Prev |  Next  |  Last
Pages: 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195
freebsd and multiprocessing
Hi, I'm intending to use multiprocessing on a freebsd machine (6.3 release, quad core, 8cpus, amd64). I see in the doc that on this platform I can't use synchronize: ImportError: This platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not functio... 2 Mar 2010 16:55
Queue peek?
Hi all I'm looking for a queue that I can use with multiprocessing, which has a peek method. I've seen some discussion about queue.peek but don't see anything in the docs about it. Does python have a queue class with peek semantics? Michael ... 8 Mar 2010 20:55
os.fdopen() issue in Python 3.1?
I have a snippet of code that looks like this: pid, fd = os.forkpty() if pid == 0: subprocess.call(args) else: input = os.fdopen(fd).read() ... This seems to work find for CPython 2.5 and 2.6 on my Linux system. However, with CPython 3.1 I get: ... 2 Mar 2010 19:12
Call Signtool using python
Hi, I want to call the Windows signtool to sign a binary from a python script. Here is my script: // os.chdir('./Install/activex/cab') subprocess.call(["signtool", "sign", "/v", "/f", "webph.pfx", "/t", "http://timestamp.verisign.com/scripts/timstamp.dll", "WebPh.exe" ]) // But I am getting this error: ... 2 Mar 2010 13:30
OSSCamp Chandigarh April 2010 - Open Source Is The Future
Hello All, OSSCamp is again being organized in Chandigarh on April 10, 2010. This is another step ahead to foster the open source community in the city beautiful. This event is a purely community organized event by some of the open source evangelists of Chandigarh and it would be great if you guys join us to mak... 2 Mar 2010 03:30
How to find an COM object in using of pywin32
Hi, I want to interactive with an OLE application with pywin32. The problem is I get totally no idea how to find the object in OLEView and how to figure out it's interface. With pywin32's example, I even don't understand that in the below statement, win32com.client.Dispatch('Excel.Application') that wh... 2 Mar 2010 04:35
Adding to a module's __dict__?
From inside a module, I want to add a key-value pair to the module's __dict__. I know I can just do: FOO = 'bar' at the module top-level, but I've got 'FOO' as a string and what I really need to do is __dict__['Foo'] = 'bar' When I do that, I get "NameError: name '__dict__' is not defined". Is it possi... 4 Mar 2010 05:34
Call for Participation: CHR Summer School
- Call for Participation - First International Summer School on CHR: Programming and Reasoning with Rules and Constraints August 30 - September 3 2010 Leuven, Belgium Website: http://www.cs.kuleuven.be/~dtai/CHR/summerschool *************************************************************************... 1 Mar 2010 18:43
Class attributes / methods..... full Python script
Gabor Urban wrote: thanks for the ideas. Here you are the code. Not transcoded from Java for I do not know Java enough.. I am scanning an XML file, and have a large ammount of logging. Any ideas are wellcome as before.... Thnx Code:> packages.append(Package) Replace Packa... 1 Mar 2010 17:34
Class attributes / methods lost?
Gabor Urban wrote: I am building a nested data structure with the following compontens: <snip> Any idea is wellcome. The error messages suggest that you are using classes where you should be using class instances, but you don't provide the code where this problem originates. The code you do give ... 1 Mar 2010 10:15
First  |  Prev |  Next  |  Last
Pages: 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195