Thanks all for the answer. I keep SR solution.

> You might want to try just putting the code in a some text file whose
> extension is ".sage". For example, I put the following code in a file
> called "demo.sage", not "demo.py":
>   
I prefer not to use it because I'm using sage as a back-end in a 
personal module which is imported in my principal script ... which can 
itself be called from a bash script.
So I prefer, as far as possible to write regular python and use Sage as 
a module imported.

Have a nice afternoon
Laurent

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to