Re: [BangPypers] TypeError: problem (was: Python coaching classes)

2010-10-13 Thread Senthil Kumaran
On Thu, Oct 14, 2010 at 01:04:49AM -0400, mukkera harsha wrote: > > http://dpaste.com/257629/ > > I pasted the code as you said. Please follow the link. This may hardly help. Here are the suggestions for you to debug your code. TypeError is rather the easiest of Exceptions to debug. - From the

Re: [BangPypers] TypeError: problem (was: Python coaching classes)

2010-10-13 Thread mukkera harsha
Hi, Thanks for your reply. http://dpaste.com/257629/ I pasted the code as you said. Please follow the link. On Thu, Oct 14, 2010 at 12:56 AM, Kenneth Gonsalves wrote: > On Wed, 2010-10-13 at 10:18 -0400, mukkera harsha wrote: > > The attached is my code. > > looks like the attachment was strip

Re: [BangPypers] TypeError: problem (was: Python coaching classes)

2010-10-13 Thread Kenneth Gonsalves
On Wed, 2010-10-13 at 10:18 -0400, mukkera harsha wrote: > The attached is my code. looks like the attachment was stripped - use http://dpaste.com -- regards Kenneth Gonsalves ___ BangPypers mailing list BangPypers@python.org http://mail.python.org/mai

Re: [BangPypers] Python coaching classes

2010-10-13 Thread Kenneth Gonsalves
On Wed, 2010-10-13 at 19:02 +0530, Gopalakrishnan Subramani wrote: > I will be interested in advanced python session anywhere in Bangalore. as a trainer or as a trainee? -- regards Kenneth Gonsalves ___ BangPypers mailing list BangPypers@python.org htt

Re: [BangPypers] Python coaching classes

2010-10-13 Thread mukkera harsha
Hi, I need to get the xml file and convert the data into dictionary. So, In order to specify the xml file , I need to pass the paramater. The attached is the code I am working on, Can you please let me know if I need to make any other changes in the code. On Wed, Oct 13, 2010 at 11:23 AM, vijay

Re: [BangPypers] Python coaching classes

2010-10-13 Thread vijay
What i can guess is AnyAsDict() constructor does not need any argument but you are passing one. self will be defaultĀ  argument it will have. You context code can help to get exact answer. With Regards Vijay --- On Wed, 13/10/10, mukkera harsha wrote: From: mukkera harsha Subject: Re: [BangPy

[BangPypers] Python-yql error

2010-10-13 Thread JAGANADH G
Dear All I was trying to run the following code >>> import yql >>> y = yql.Public() >>> query = 'select * from flickr.photos.search where text="panda" limit 3'; >>> result = y.execute(query) When i execute the fourth line I am getting the error http://pastebin.com/HryAZVEA . Any clue how to resol

Re: [BangPypers] TypeError: problem (was: Python coaching classes)

2010-10-13 Thread mukkera harsha
Hi, The attached is my code. On Wed, Oct 13, 2010 at 9:47 AM, Noufal Ibrahim wrote: > On Wed, Oct 13 2010, mukkera harsha wrote: > > > Traceback (most recent call last): > > File "workflowexecutionservice.py", line 24, in > > > > class Subworkflow(ClassSerializer): > > > > File "workflowexecuti

[BangPypers] TypeError: problem (was: Python coaching classes)

2010-10-13 Thread Noufal Ibrahim
On Wed, Oct 13 2010, mukkera harsha wrote: > Traceback (most recent call last): > File "workflowexecutionservice.py", line 24, in > > class Subworkflow(ClassSerializer): > > File "workflowexecutionservice.py", line 26, in Subworkflow > > files = AnyAsDict(String) > > TypeError: *new*() takes exact

Re: [BangPypers] Python coaching classes

2010-10-13 Thread Gopalakrishnan Subramani
I will be interested in advanced python session anywhere in Bangalore. On Wed, Oct 13, 2010 at 11:35 AM, Kenneth Gonsalves wrote: > On Wed, 2010-10-13 at 11:32 +0530, jayasimha makineni wrote: > > on "there will be soon" > > it is a secret - all will be revealed at an appropriate time. > -- > r

Re: [BangPypers] Python coaching classes

2010-10-13 Thread mukkera harsha
Traceback (most recent call last): File "workflowexecutionservice.py", line 24, in class Subworkflow(ClassSerializer): File "workflowexecutionservice.py", line 26, in Subworkflow files = AnyAsDict(String) TypeError: *new*() takes exactly 1 argument (2 given) I am getting the following error.