Get information about a function in python, looking at source code
- by Werner
Hi,
the following code comes from the matplotlib gallery:
#!/usr/bin/env python
from pylab import *
x = array([10, 8, 13, 9, 11, 14, 6, 4, 12, 7, 5])
y = array([8.04, 6.95, 7.58, 8.81, 8.33, 9.96, 7.24, 4.26, 10.84, 4.82, 5.68])
I am new to python, and would like to change the content of x and y from an input file. I have two short questions:
I could guess what array means,
but once I see it on the code, how
can I know to which library it
belongs and more information about
it? Should I use some kind of python
debug commands?
How do I insert the content of my
input file into x?
Thanks