On Tue, 20 Sep 2005, R. Alan Monroe wrote:
> > >>> math.degrees(_) <--- in all my time on tutor
> I have never noticed
> this underscore trick
> before
That *is* cool.
I've usually done something like:
>>
John Fouhy wrote:
> On 21/09/05, R. Alan Monroe <[EMAIL PROTECTED]> wrote:
>
>>> >>> math.degrees(_) <--- in all my time on tutor
>>
>> I have never noticed
>> this underscore trick
>> before
>
>
> I'm not a big
John Fouhy wrote:
> On 21/09/05, R. Alan Monroe <[EMAIL PROTECTED]> wrote:
>
>>> >>> math.degrees(_) <--- in all my time on tutor
>>
>> I have never noticed
>> this underscore trick
>> before
>
>
> I'm not a big
On 21/09/05, R. Alan Monroe <[EMAIL PROTECTED]> wrote:
> > >>> math.degrees(_) <--- in all my time on tutor
> I have never noticed
> this underscore trick
> before
I'm not a big fan of it, actually. It smells
> Bernard Lebel wrote:
> >>> import math
> >>> math.acos(-0.0634)
> 1.6342388771557625
> >>> math.degrees(_) <--- in all my time on tutor
I have never noticed
this underscore trick
before
> 93.63499037722380
Bernard Lebel wrote:
> Hello,
>
> I have this little math problem. I have this formula from wich I get a
> dot product between two vectors.
>
> cos(ß) = A.B / |A|.|B| = -0.0634
> So this would give me radians, right?
No, it's the cosine of ß, which has no units (a cosine is a ratio of two
lengt
Hello,
I have this little math problem. I have this formula from wich I get a
dot product between two vectors.
cos(ß) = A.B / |A|.|B| = -0.0634
So this would give me radians, right?
Then if I use
math.degrees( -0.0634 )
This gives me a value of -3.6325524211294193.
However I have a book in fr
I've got a few questions regarding Threading. I've never used threads
before and I want to make sure I'm doing it correctly ;-)
I have a GUI app and it processes Tiff files to PDF (or PostScript). The
GUI has a ListBox which the user populates with files to convert. You
click on a Button and the f
"Mike Hansen" <[EMAIL PROTECTED]> said:
[...]
http://freshmeat.net/projects/pysnippet/
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
>
>
> Subject:
> Re: [Tutor] How do you organize code snippets?
> From:
> Poor Yorick <[EMAIL PROTECTED]>
> Date:
> Sun, 18 Sep 2005 13:28:10 -0400
>
> CC:
> tutor@python.org
>
>
> List wrote:
>
>> Is there a way of namin
Danny Yoo wrote:
>>>Check with the Debian folks about this one; the problem you're running
>>>into looks really specific to the way Debian has packaged libstdc++6.
>>>This topic isn't really one that folks on Tutor will necessarily have
>>>competence in. Instead, try the debian-python mailing lis
> >Check with the Debian folks about this one; the problem you're running
> >into looks really specific to the way Debian has packaged libstdc++6.
> >This topic isn't really one that folks on Tutor will necessarily have
> >competence in. Instead, try the debian-python mailing list:
> >
> >http
Danny Yoo wrote:
>
>
>>anyone have any luck getting up and running with matplot-lib on debian?
>>from the website, i followed the instructions to get it with apt. but
>>something is messed up in the dependencies.
>>
>>
>
>Check with the Debian folks about this one; the problem you're running
> anyone have any luck getting up and running with matplot-lib on debian?
> from the website, i followed the instructions to get it with apt. but
> something is messed up in the dependencies.
Check with the Debian folks about this one; the problem you're running
into looks really specific to the
hey there,
anyone have any luck getting up and running with matplot-lib on debian?
from the website, i followed the instructions to get it with apt. but
something is messed up in the dependencies.
i get this
import pylab
Traceback (most recent call last):
File "", line 1, in -toplevel-
imp
Hi,
Orri Ganel wrote on 20.09.2005:
>As a side-note, unless you're okay with only being able to access
>those instance variables through the fields list (ie fields[0],
>fields[1], fields[2]), you may want to actually name them first.
Yes, I am fine with that - I actually prefer to have a sorted
As a side-note, unless you're okay with only being able to access those
instance variables through the fields list (ie fields[0], fields[1],
fields[2]), you may want to actually name them first.
Jan Eden wrote:
>Hi,
>
>Jan Eden wrote on 20.09.2005:
>
>
>
>>Hi,
>>
>>I'd like to form a list of
Jan Eden wrote:
>>I'd like to form a list of class instances. The following does not work
>>(TextfieldLong, Textarea, TextfieldShort etc being class names):
>>
>> fields = [
>> TextfieldLong(name='title', label='Seitentitel', value=''),
>> Textarea(name='content', label='Inhalt', val
Hi,
Jan Eden wrote on 20.09.2005:
>Hi,
>
>I'd like to form a list of class instances. The following does not work
>(TextfieldLong, Textarea, TextfieldShort etc being class names):
>
>fields = [
>TextfieldLong(name='title', label='Seitentitel', value=''),
>Textarea(name='conte
Hi,
I'd like to form a list of class instances. The following does not work
(TextfieldLong, Textarea, TextfieldShort etc being class names):
fields = [
TextfieldLong(name='title', label='Seitentitel', value=''),
Textarea(name='content', label='Inhalt', value=''),
Shor
what about eric3 ?
http://www.die-offenbachs.de/detlev/eric3.html
Ced.
--
Cedric BRINER
Geneva - Switzerland
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
I like that, I'm all over it like white on rice! Thanks.
On 9/20/05, János Juhász <[EMAIL PROTECTED]> wrote:
Hi Ed,last month I have found this beautifull sample about threads and sockets:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/114642It helped me to a lot to understand how t
22 matches
Mail list logo