Re: Reentrancy of Python interpreter

2007-09-29 Thread bvukov
On Sep 28, 11:31 pm, Brad Johnson <[EMAIL PROTECTED]> wrote: > I have embedded a single threaded instance of the Python interpreter in my > application. > > I have a place where I execute a Python command that calls into C++ code which > then in turn calls back into Python using the same interprete

Re: Adding tuples to a dictionary

2007-05-31 Thread bvukov
On May 31, 8:30 pm, Maciej BliziƄski <[EMAIL PROTECTED]> wrote: > Hi Pythonistas! > > I've got a question about storing tuples in a dictionary. First, a > small test case which creates a list of dictionaries: > > import time > > list_of_dicts = [] > keys = [str(x) for x in range(20)] > prev_clk

Re: Binary file output using python

2007-04-17 Thread bvukov
On Apr 17, 10:30 pm, Thomas Dybdahl Ahle <[EMAIL PROTECTED]> wrote: > Den Tue, 17 Apr 2007 11:07:38 -0700 skrev kyosohma: > > > On Apr 17, 12:41 pm, Chi Yin Cheung <[EMAIL PROTECTED]> wrote: > >> Hi, > >> Is there a way in python to output binary files? I need to python to > >> write out a stream o