On Tue, Mar 6, 2012 at 6:28 PM, prateek papriwal <[email protected]> wrote: > suppose if i want to know sum() function is located in which python file ? > how to know this
Use git-grep: http://linux.die.net/man/1/git-grep For example, to find the definition of the function sum you may want to use the following command: $ git grep -ni "def sum" * The switch "-n" will make git-grep show the line number of the match, while the switch "-i" will allow case-insensitive matches. You may as well use the grep command directly ( http://linux.die.net/man/1/grep ) Sergiu -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
