mimicing pg 398 of practical python

2006-02-24 Thread MARK LEEDS



I am trying to duplicate the sunspots graph on page 
398 of Practical Python. I don''t
have those reportlab modules so i downloaded them 
from their website  and tried to put them somewhere
( not clear where i should  put them ) and 
then i added that place to my sys.path
by doig sys.path.append inside the same program. 
but, i still got the error that
it doesn't know about thsis module ?
 
does anyone have really good directions on how to 
download the reportlab stuff
so that it works. the book, practical python is 
amazing but this part is a little
unclear. thanks a lot.
 
or maybe thre is an easier graphics package to use 
that is already inside python.
i'm a beginner. thanks.
 
 
        
                
                
                
    mark
-- 
http://mail.python.org/mailman/listinfo/python-list

Re: mimicing pg 398 of practical python

2006-02-24 Thread MARK LEEDS



i should have mentioned that i am on 
linux
and using python 2.4. my apologies.
 

  - Original Message - 
  From: 
  MARK 
  LEEDS 
  To: python-list@python.org 
  Sent: Friday, February 24, 2006 10:00 
  PM
  Subject: mimicing pg 398 of practical 
  python
  
  I am trying to duplicate the sunspots graph on 
  page 398 of Practical Python. I don''t
  have those reportlab modules so i downloaded them 
  from their website  and tried to put them somewhere
  ( not clear where i should  put them ) and 
  then i added that place to my sys.path
  by doig sys.path.append inside the same program. 
  but, i still got the error that
  it doesn't know about thsis module ?
   
  does anyone have really good directions on how to 
  download the reportlab stuff
  so that it works. the book, practical python is 
  amazing but this part is a little
  unclear. thanks a lot.
   
  or maybe thre is an easier graphics package to 
  use that is already inside python.
  i'm a beginner. thanks.
   
   
          
                  
                  
                  
      mark
  
  

  -- 
http://mail.python.org/mailman/listinfo/python-list
-- 
http://mail.python.org/mailman/listinfo/python-list

looking for a simpe plotting module

2006-02-25 Thread MARK LEEDS



i'm pretty much 
a python beginner so can anyone recommend a plooting package in python ( simple 
foating  numbers that makes lines or dots with a yaxis and an an 
xaxis. i don't need fancy drawings ) that is a built in module in 
python ?  i am using python 2.4 in linux if that matters. 
thanks.
-- 
http://mail.python.org/mailman/listinfo/python-list

newbie trying understand sys.path

2006-02-26 Thread MARK LEEDS



I  was trying to understand the concept of 
python looking for modules in sys.path.
 
So, as it said in "Beginning Python", I went into 
my .bashrc file and did
 
export PYTHONPATH=$PYTHONPATH:~/mytemp
 
then, i typed pprint.pprint(sys.path) and it 
worked.
it was in there 

 
but, now I want to take it out.
 
i deleted the command from the .bashrc 
file and resourced it but it was still in there.
 
So, then I tried ( 
inside a python program )
 
sys.path = sys.path[1:]
 
and it works inside the program so that sys.path 
changed while the program was running.
 but, then i checked it again, by taking 
out the above command

and typing pprint.pprint(sys.path) and it was 
still there ?
 
Basically, my question is : Is there a permanent way of taking things out 
of sys.path that
you put in sort of by accident or for experimentation ?
 
Thanks.
 
-- 
http://mail.python.org/mailman/listinfo/python-list

newbie : econometrics in python

2006-02-27 Thread MARK LEEDS



i've used python in the past but only for data 
processing, writing to files, midifying files,
reading from files. now, my boss wants me to do some econometrics using python.
 
would anyone who has done this ( var, vecm, 
cointegration, ols, kalman filter whatever ) mind
sending me some sample code that i could use as a 
template.
 
i've spent 2 days, going through numpy, scipy, 
pytrix etc and i still
can't figure it out. thanks.
 
        
                
                
                
mark
-- 
http://mail.python.org/mailman/listinfo/python-list