Hi,
I have some question about Stackless Python.
What is main tasklet?
Usually we call stackless.run() to mainloop all the schedule tasklets. But if
we just call sometaklet.channel.send(None) in main thread after all the
necessary tasklets are created, what would happen?
Thanks in adva
Brendan Fay wrote:
> I figured it out. Is there any way to delete your own posts?
>
> Brendan Fay wrote:
>> Dear Someone:
>>
>> I have written a script that accesses the googleAPI through
>> pygoogle and saves each of the ten documents as a .txt file by using a
>> specific function for each
Hi Groupies,
I have an Intel Macbook running OS X 10.4.
It came installed with Python 2.3.5. I have since installed MacPython
with version 2.4.4, cool.
When I open a bash terminal session and type python, it brings up
version 2.3.5. If I type IDLE it brings up version 2.4.4.
My question: what
Ted <[EMAIL PROTECTED]> wrote:
> On Jun 14, 1:31 pm, Kevin Walzer <[EMAIL PROTECTED]> wrote:
> > John Fisher wrote:
> > > Hi Groupies,
> >
> > > I have an Intel Macbook running OS X 10.4.
> >
> > > It came installed with Python 2.3.
Hi Group,
troubles with converting signed 32.32, little-endian, 2's complement
back to floating point. I have been trying to brew it myself. I am
running Python 2.5 on a Mac. Here is the C-code I have been trying to
leverage:
double FPuint8ArrayToFPDouble(uint8 *buffer, int startIndex)
{
uin
[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On Jul 20, 5:59 pm, [EMAIL PROTECTED] (John Fisher) wrote:
> > Hi Group,
> >
> > troubles with converting signed 32.32, little-endian, 2's complement
> > back to floating point. I have been trying to brew it my
I am working on a framework for data acquisition in Python 2.5, am
trying to get a structure going more like this:
mark start time
start event
event finishes
count time until next interval
start second event…
rather than this:
start event
event finishes
sleep for interval
start
I am trying to learn the best way to do intra-package references. My
package looks like this:
PackageName
__init__.py
/a
__init__.py
a.py
...
/b
__init__.py
...
/c
__init__.py
...
/d
__init__.py
...
I have l
One way to get this to work is:
def inc(jj):
def dummy(jj = jj):
jj = jj + 1
return jj
return dummy
h = inc(33)
print h()
It's not very pretty though, especially when you have many variables
you want to have in the inner scope.
-Ben
On 1/9/08, Mi
This might have something to do with the class being derived from file.
I've written it so that it doesn't derive from file, and it works.
class File_and_console():
def __init__(self, *args):
self.fileobj = open(*args)
def write(self, s):
self.fileo
Hi Group,
I have been absent a while, mainly because I have been getting better at
figuring out my own Python problems. But not this one...
I have a timed loop performing certain tasks until a total period of
time has elapsed. I would like to be able to interrupt the loop or set
various flags dur
Arnaud Delobelle <[EMAIL PROTECTED]> wrote:
> John Fisher wrote:
> > Hi Group,
>
> Hi John
>
> > I have been absent a while, mainly because I have been getting better at
> > figuring out my own Python problems. But not this one...
> >
> > I ha
to see what happens then follow this link:
http://www.fisherphotographics.co.uk/testhtml1.htm
The python file has come directly from the example so i must me doing something
wrong. I have all the correct permissions etc
Thanks very much
Ed Fisher
--
http://mail.python.org/mailman/listinfo/python-list
13 matches
Mail list logo