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

Pauli Virtanen pav at iki.fi
Fri Apr 8 07:29:28 EDT 2011


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




More information about the NumPy-Discussion mailing list