Re: Returning value directly to another function

2010-12-09 Thread Rainy
On Dec 9, 9:21 am, Quetzacotl wrote: > Hello, this is rather python problem, but maybe You can help. What i > want to do is to return value in another function calling from other > function. > > It doesnt mean i want this: > > def Func(): >      return 1 > > def Func2(): >      return Func() > >

Re: Returning value directly to another function

2010-12-09 Thread Ilian Iliev
Hi what exactly is the problem with the if check? Why is it so bad? On Thu, Dec 9, 2010 at 4:21 PM, Quetzacotl wrote: > Hello, this is rather python problem, but maybe You can help. What i > want to do is to return value in another function calling from other > function. > > It doesnt mean i wa

Returning value directly to another function

2010-12-09 Thread Quetzacotl
Hello, this is rather python problem, but maybe You can help. What i want to do is to return value in another function calling from other function. It doesnt mean i want this: def Func(): return 1 def Func2(): return Func() I want function Func to return 1 directly in Func2 as it is F