Re: sine in python

2008-04-03 Thread zillow10
On Apr 3, 11:58 pm, Astan Chee <[EMAIL PROTECTED]> wrote: > Hi, > I have a math function that looks like this > sin (Theta) = 5/6 > How do I find Theta (in degrees) in python? I am aware of the math.sin > function, but is there a reverse? maybe a sine table in python? > Thanks > Astan > > -- > "For

Re: id functions of ints, floats and strings

2008-04-03 Thread zillow10
On Apr 3, 11:27 pm, [EMAIL PROTECTED] wrote: > Hi all, > > I've been playing around with the identity function id() for different > types of objects, and I think I understand its behaviour when it comes > to objects like lists and tuples in which case an assignment r2 = r1 > (r1 refers to an existi

id functions of ints, floats and strings

2008-04-03 Thread zillow10
Hi all, I've been playing around with the identity function id() for different types of objects, and I think I understand its behaviour when it comes to objects like lists and tuples in which case an assignment r2 = r1 (r1 refers to an existing object) creates an alias r2 that refers to the same o

Re: generator functions: why won't this work?

2008-04-02 Thread zillow10
On Apr 2, 3:57 pm, Mel <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > I'd just like to test my > > > understanding of this. Suppose I create the following generator > > object: > > > g = getNextScalar(1, 2, (3, 4), 5) > > > when the iterator reaches the tuple argument (3, 4) then, accord

Re: developing web spider

2008-04-02 Thread zillow10
On Apr 2, 2:54 pm, [EMAIL PROTECTED] wrote: > On Apr 2, 6:37 am, abeen <[EMAIL PROTECTED]> wrote: > > > Hello, > > > I would want to know which could be the best programming language for > > developing web spider. > > More information about the spider, much better,, > > > thanks > > >http://www.ima

Re: developing web spider

2008-04-02 Thread zillow10
On Apr 2, 6:37 am, abeen <[EMAIL PROTECTED]> wrote: > Hello, > > I would want to know which could be the best programming language for > developing web spider. > More information about the spider, much better,, > > thanks > > http://www.imavista.com Just saw this while passing by... There's a nice

Re: generator functions: why won't this work?

2008-04-02 Thread zillow10
On Apr 2, 4:42 am, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote: > En Tue, 01 Apr 2008 23:56:50 -0300, <[EMAIL PROTECTED]> escribió: > > > I'm trying to understand generator functions and the yield keyword. > > I'd like to understand why the following code isn't supposed to work. > > (What I would