numpy.source

numpy.source(object, output=<open file '<stdout>', mode 'w' at 0x2aaaaaac9198>)

Print or write to a file the source code for a Numpy object.

Parameters:

object : numpy object

Input object.

output : file object, optional

If output not supplied then source code is printed to screen (sys.stdout). File object must be created with either write ‘w’ or append ‘a’ modes.

Previous topic

numpy.info

Next topic

Miscellaneous routines

This Page

Quick search