En Sat, 22 Mar 2008 07:07:18 -0300, John Machin <[EMAIL PROTECTED]>
escribi�:
> On Mar 22, 7:19 pm, [EMAIL PROTECTED] wrote:
>
>> On the other hand, are you willing to make changes to the console?
>> How big and what? I was thinking of __ to keep the second-to-last
>> most recent command.
>
> A
On Mar 22, 10:07 am, John Machin <[EMAIL PROTECTED]> wrote:
> On Mar 22, 7:19 pm, [EMAIL PROTECTED] wrote:
>
>
>
> > On the other hand, are you willing to make changes to the console?
> > How big and what? I was thinking of __ to keep the second-to-last
> > most recent command.
>
> Access to and e
On Mar 22, 7:19 pm, [EMAIL PROTECTED] wrote:
>
> On the other hand, are you willing to make changes to the console?
> How big and what? I was thinking of __ to keep the second-to-last
> most recent command.
Access to and editing of previous input lines is already provided by
the cooked mode of t
>>> FunctionType.__eq__= 0
Traceback (most recent call last):
File "", line 1, in
TypeError: can't set attributes of built-in/extension type 'function'
>>> type( 'F', ( FunctionType, ), { '__eq__': e } )
Traceback (most recent call last):
File "", line 1, in
TypeError: type 'function' is not
In message <[EMAIL PROTECTED]>, J. A.
Aczel wrote:
> Unfortunately, generator objects don't seem to include any information
> about the parent object or function that created them.
So add your own.
--
http://mail.python.org/mailman/listinfo/python-list
"J. A. Aczel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
| Hello all. I think I should explain my problem in detail, so everyone
| understands what I'm trying to do and why. There may be a better
| approach to the whole problem then I am using.
|
| I am working on a game, with mo
Hello all. I think I should explain my problem in detail, so everyone
understands what I'm trying to do and why. There may be a better
approach to the whole problem then I am using.
I am working on a game, with most of my AI code & such divided up into
generator functions (really coroutines that d
jupiter wrote:
> I am getting this error when I am using sql command within
> class.function accessing from another class
>
> how can I create seperate instance for sqlite objects ???
Trying to help you gets boring. I suggest reading the material
that's being offered.
Regards,
Björn
--
c.execute("select symbol,tvolume,date,time from "+self.dbase+"
where symbol=
?",t)
ProgrammingError: SQLite objects created in a thread can only be used
in that sa
me thread.The object was created in thread id 976 and this is thread
id 944
I am getting this error when I am using sql command wi
jupiter wrote:
> My problem is I want to use threading
You're right. Why do you think you want to use (multi-)threading?
> and I might need to pass values between function and classes. I am
> not sure how this can be done. I have read about classes and I
> know they are like function however do
Bruno Desthuilliers wrote:
> Classes are used to define and create ('instanciate' in OO jargon)
Good info from Bruno, just a quick note that it's spelled
"instantiate" (I'm not usually big on spelling corrections but since
you were teaching a new word I thought it might be worthwile).
--
http://
jupiter a écrit :
> hi friends,
>
> I have a program like
>
> some variable definations
>
> a function ( arg1, agr2):
> do something with arg1 & arg2
> return a list
>
> if condition
>do this function(arg1,arg2)
> else
> if condition
> do this function
>else
>
hi friends,
I have a program like
some variable definations
a function ( arg1, agr2):
do something with arg1 & arg2
return a list
if condition
do this function(arg1,arg2)
else
if condition
do this function
else
do this
My problem is I want to use threadin
13 matches
Mail list logo