Re: [Numpy-discussion] How to use a function into "import function" in python

2011-04-08 Thread dileep kunjaai
Thank you sir thank you for your quick and correct answer On Fri, Apr 8, 2011 at 5:52 PM, Alan G Isaac wrote: > On 4/8/2011 6:54 AM, dileep kunjaai wrote: > > I defined a function " hit_rate( )" i want to use this into "import > function(name of function)". > > http://docs.python.org

Re: [Numpy-discussion] How to use a function into "import function" in python

2011-04-08 Thread Alan G Isaac
On 4/8/2011 6:54 AM, dileep kunjaai wrote: > I defined a function " hit_rate( )" i want to use this into "import > function(name of function)". http://docs.python.org/tutorial/modules.html Alan Isaac ___ NumPy-Discussion mailing list NumPy-Discuss

Re: [Numpy-discussion] How to use a function into "import function" in python

2011-04-08 Thread Pauli Virtanen
Fri, 08 Apr 2011 16:24:58 +0530, dileep kunjaai wrote: > I defined a function " hit_rate( )" i want to use this into "import > function(name of function)". Please read the Python tutorial first: http://docs.python.org/tutorial/ http://docs.python.org/tutorial/modules.html ___

[Numpy-discussion] How to use a function into "import function" in python

2011-04-08 Thread dileep kunjaai
Dear sir, I defined a function " hit_rate( )" i want to use this into "import function(name of function)". For example: I defined a function as * def* hit_function(a,b,c): . ,... * return* value