I am new to python.

I have installed scitools-0.9.0.tar.gz from http://code.google.com/p/scitools/.

my question is how can I use it in a python project that I have created in eclipse ?

if it is java I will just add the jar file to my project classpath.

For example.

this is an example from scitools-0.9.0.tar.gz

-----------------------------------------------------------------------

"""Plot three curves. Use Matlab-style syntax."""

from scitools.std import *

# plot two curves in the same plot:

t = linspace(0, 3, 51) # 51 points between 0 and 3

y1 = t**2*exp(-t**2)

y2 = t**4*exp(-t**2)

# pick out each 4 points and add random noise:

t3 = t[::4]

random.seed(11)

y3 = y2[::4] + random.normal(loc=0, scale=0.02, size=len(t3))

# use Matlab syntax:

plot(t, y1, 'r-')

hold('on')

plot(t, y2, 'b-')

plot(t3, y3, 'bo')

legend('t^2*exp(-t^2)', 't^4*exp(-t^2)', 'data')

title('Simple Plot Demo')

axis([0, 3, -0.05, 0.6])

xlabel('t')

ylabel('y')

savefig('tmp0.eps') # this one can be included in latex

savefig('tmp0.png') # this one can be included in HTML

show()

raw_input('Press Return key to quit: ')

-----------------------------------------------------------------

When I create pydev project

add a file then past this one inside that file I get error in eclipse that show that

plot(t, y1, 'r-')

hold('on')

plot(t, y2, 'b-')

plot(t3, y3, 'bo')

legend('t^2*exp(-t^2)', 't^4*exp(-t^2)', 'data')

title('Simple Plot Demo')

axis([0, 3, -0.05, 0.6])

xlabel('t')

ylabel('y')

savefig('tmp0.eps') # this one can be included in latex

savefig('tmp0.png') # this one can be included in HTML

show()

Are not visible in eclipse, if it is java that tells me that these are not in my classpath.

I am new to python.

sorry for the newbie question