hi william,

>   (2) instead of having lots of big copies of the same input, define a
> function, e.g.,
>
> def foo(a, b):
>     some code...
>
> and call foo repeatedly.  Your worksheet will look a lot cleaner, and
> there is less chance of error.

I already do this... It's the dozens of calls to foo() that i like to
do rapidly, and keep track of (it's usually foo(param1, param2, ...
param8), each param is complicated to type, etc). I think even if
there were only one integer parameter, on a bad day I may be too lazy
to type f-o-o-(-n-)   :) so much longer than UP-LEFT-BACK-n...

well i guess the console/emacs mode is just perfect for me! I like the
notebook for things like @interact though.

> There's no equiv of %edit in the notebook, per se.  You can upload and
> edit files using codemirror though.
> Just attach the file, then click on it to get the editor.

i clicked on "data/upload or create file", and then typed "attach DATA
+'foo.sage', which worked, is this the canonical way to attach a sage
file?

thanks
pierre

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to