On Thu, Aug 14, 2008 at 7:20 AM, Eli <[EMAIL PROTECTED]> wrote:
>
> Hello.
> I have sage installed on a computer that has also a normal python
> installation ("system-wide" python).
> Now, I would like to run a python script with the python installed
> inside sage (not the system-wide)
> How is it done ?
>
> I have the sage-root directory in the PATH.
> When I tried to run a script by typing sage -python script_name.py
> I know that script works on the normal python but the sage -python
> script_name.py command had no effect.

Doing

  sage -python script_name.py

definitely*should* work.  What goes wrong?  Can you post an
exact script and the output illustrating things not working?



> In the tutorial, (section 5.3) there is a comment in the beginning of
> the python script:
> #!/usr/bin/env sage -python
> Does this has anything to do with the solution of my problem ?
>
> Thanks
> Eli
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
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
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to