On 4/27/2012 11:42 PM Debashish Saha said...
44 sph_yn_P=(l*sph_yn(l,K*R)/(K*R))-sph_yn(l,K*R)
Here you're clearly multiplying by R...
---> 45 Beta_l=l-(K_P*R(sph_jv(l+1,K_P*R))/(sph_jv(l,K_P*R)))
... and here you've got R(...) which is attempting to call R() which
isn't def
mmiikkee13 schrieb:
a_list = range(37)
list_as_dict = dict(zip(range(len(a_list)), [str(i) for i in a_list]))
for k, v in list_as_dict:
... print k, v
...
Traceback (most recent call last):
File "", line 1, in
TypeError: 'int' object is not iterable
What 'int' object is this referring to
On Oct 5, 8:11 pm, mmiikkee13 <[EMAIL PROTECTED]> wrote:
> >>> a_list = range(37)
> >>> list_as_dict = dict(zip(range(len(a_list)), [str(i) for i in a_list]))
> >>> for k, v in list_as_dict:
>
> ... print k, v
> ...
> Traceback (most recent call last):
> File "", line 1, in
> TypeError: 'int
> It appears that worker.start gets set to the result of
> count.ui.spFrom.value(). If that result is an int, then worker.start() is
> going to generate the TypeError you received. Did you actually mean to call
> worker.run() instead?
>
> ---
> -Bill Hamilton
Some friend pointed out to me an ho
> From: king kikapu
>
> Hi,
>
> i have a problem with the following piece of code that id just drive
> me nuts (from the morning...)
> I think is more Python specific than Qt, folks from Qt forum have
> already give me directions of how to do it but that Python error
> message is just impossible