Re: Calling Values

2012-08-03 Thread subhabangalore
On Friday, August 3, 2012 10:50:52 PM UTC+5:30, Dennis Lee Bieber wrote: > On Fri, 3 Aug 2012 04:49:46 -0700 (PDT), Subhabrata > > declaimed the following in > > gmane.comp.python.general: > > > > > Dear Group, > > > > > > I am trying to call the values of one function in the another funct

Re: Calling Values

2012-08-03 Thread Steven D'Aprano
On Fri, 03 Aug 2012 04:49:46 -0700, Subhabrata wrote: > I am preferring not to use argument passing It's not 1964 any more and you're not programming in BASIC. What you have just told us is that you prefer not to write good quality programs, and that you prefer to write buggy, hard to maintain

Re: Calling Values

2012-08-03 Thread Ethan Furman
subhabangal...@gmail.com wrote: On Friday, August 3, 2012 5:19:46 PM UTC+5:30, Subhabrata wrote: Dear Group, I am trying to call the values of one function in the another function in the following way: def func1(): num1=10 num2=20 print "The Second Number is:",num

RE: Calling Values

2012-08-03 Thread Prasad, Ramit
> def func1(): > > num1=10 > > num2=20 > > print "The Second Number is:",num2 > > return > > > def func2(): > > func1() > num3=num1+num2 > > num4=num3+num1 > > print "New Number One is:",num3 > > print "New Number Two is:",num4 > >

Re: Calling Values

2012-08-03 Thread subhabangalore
On Friday, August 3, 2012 5:19:46 PM UTC+5:30, Subhabrata wrote: > Dear Group, > > > > I am trying to call the values of one function in the another function in the > following way: > > def func1(): > > num1=10 > > num2=20 > > print "The Second Number is:",num2 > >

Re: Calling Values

2012-08-03 Thread Ulrich Eckhardt
Am 03.08.2012 13:49, schrieb Subhabrata: I am trying to call the values of one function in the > another function in the following way: def func1(): num1=10 num2=20 print "The Second Number is:",num2 return def func2(): num3=num1+num2 num4=num3+

Re: Calling Values

2012-08-03 Thread Nobody
On Fri, 03 Aug 2012 04:49:46 -0700, Subhabrata wrote: > I am trying to call the values of one function in the another function > in the following way: > def func1(): > num1=10 > num2=20 > print "The Second Number is:",num2 > return > > def func2(): > num3=num1+num2 >

Re: Calling Values

2012-08-03 Thread Mark Lawrence
On 03/08/2012 12:49, Subhabrata wrote: Dear Group, I am trying to call the values of one function in the another function in the following way: def func1(): num1=10 num2=20 print "The Second Number is:",num2 return def func2(): num3=num1+num2 num

Re: Calling values from a webform to Python

2005-11-11 Thread bruno at modulix
mjakowlew wrote: > hi, > > I'm trying to pass some values from a webform into a python script. > (snip) > Also this > is done through Zope if that makes a difference to anyone. Yes, it makes a difference. Zope is a world in itself, and is slighty OT here. Note that there's a Zope mailing-list: h