On Dec 25, 7:24 am, Steven D'Aprano wrote:
> On Wed, 24 Dec 2008 16:59:23 -0800, Mike Driscoll wrote:
> >> Among my questions are:
> >> """ A little thread we've added""" seems to be an isolated string. It
> >> does not seem to be doing anything there, almost like a comment. Why is
> >> it there?
On Wed, 24 Dec 2008 16:59:23 -0800, Mike Driscoll wrote:
>> Among my questions are:
>> """ A little thread we've added""" seems to be an isolated string. It
>> does not seem to be doing anything there, almost like a comment. Why is
>> it there?
>
>
> That's what some people call a doc string.
En Wed, 24 Dec 2008 20:56:45 -0200, Sponge Nebson
escribió:
This is my first post. Nice to meet you all! Could one of you walk me
through this code?
It is from David McNab and Alex Tweedly's tutorial on timers and
threads, which can be found here:
Mike Driscoll has already answered your quest
On Dec 24, 4:56 pm, Sponge Nebson wrote:
> Hello all,
>
> This is my first post. Nice to meet you all! Could one of you walk me
> through this code?
>
> def myThread(*argtuple):
> """
> A little thread we've added
> """
> print "myThread: entered"
> q = a
Hello all,
This is my first post. Nice to meet you all! Could one of you walk me
through this code?
def myThread(*argtuple):
"""
A little thread we've added
"""
print "myThread: entered"
q = argtuple[0]
print "myThread: starting loop"
x =