Use the "load" function, e.g., load("phone.py")

In a notebook cell, type load? then press the TAB key for documentation.

Jim Clark

On Dec 17, 2013, at 2:05 PM, erwin16 <kadou...@gmail.com> wrote:

> I'm new to SAGE, just built and  installed it today (5.13) on OSX 10.9 
> 
> I have  a capture.csv data file and a python script  phone.py 
> 
> ----  phone.py ------
> import csv
> import math
> import random
> import sage.plot.line
> import sage.plot.plot3d.shapes2
> import sage.rings.polynomial.convolution
> import scipy.fftpack
> ...
> def loadphonedata(csvname):
> ...
> ..
> def process_capture():
>       loadphonedata("capture.csv")
> -------------------
> 
> but then :
> once sage is launched and the browser opened,  I'm stuck, ...I don't see how 
> to run my python script..
> I should have missed a paragraph in the documentation... 
> can someone give me a link to the correct doc ? 
> 
> thanks a lot for enlightenment
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/groups/opt_out.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to