Not Printing stmt in for loop

2011-03-17 Thread NavaTux
Here I ahd a piece of code to execute my custom python function just i executed via python shell ,so i used print statement to know some values but it does't respond anything May i know the reason please? this is the code which i executed successfully ">>> for i in cr: ... tic, mktprice,exp_

Re: Not Printing stmt in for loop

2011-03-17 Thread Anurag Chourasia
This is a Python Question (not Django) How are you populating cr? Did you check if there are any rows at all before looping over the rows? Regards, Anurag On Fri, Mar 18, 2011 at 12:07 AM, NavaTux wrote: > Here I ahd a piece of code to execute my custom python function > > just i executed via p