age2009
>
> -Original Message-
> From: Simon King
> To: sage-support
> Sent: Mon, Apr 18, 2011 9:27 am
> Subject: [sage-support] Re: Sage Scripts
>
> On 17 Apr., 04:57, nkulmati wrote:
> > However, I had a major disappointment. I wrote a short scrip
recommend Linux boxes
HTH,
A. Jorge Garcia
Applied Math and CompSci
http://shadowfaxrant.blogspot.com
http://www.youtube.com/calcpage2009
-Original Message-
From: Simon King
To: sage-support
Sent: Mon, Apr 18, 2011 9:27 am
Subject: [sage-support] Re: Sage Scripts
On 17 Apr., 04:57
On 17 Apr., 04:57, nkulmati wrote:
> However, I had a major disappointment. I wrote a short script, and it
> is apparently too much for sage/python to handle when I am running a
> virtual machine from Win 7. I use process monitor and it goes like
> this: when I run my script, both the CPU and RAM
On Sat, 16 Apr 2011 at 07:57PM -0700, nkulmati wrote:
> This whole "python-under virtual-machine" idea renders sage impossible
> to use!!
Actually, it renders Sage "possible to use" for many people. Remember
that you can always use one of the public Sage servers or set up one of
your own -- as tho
Thanks for your replies! They helped.
However, I had a major disappointment. I wrote a short script, and it
is apparently too much for sage/python to handle when I am running a
virtual machine from Win 7. I use process monitor and it goes like
this: when I run my script, both the CPU and RAM usage
> In the case of "G.plot()", that function returns a graphics object. To
> save your plot as an image, you can do something such as:
>
> G.plot.save("my_plot.png")
Oops, that should be
G.plot().save("my_plot.png")
-- Kelvin
--
To post to this group, send email to sage-support@googlegr
On Apr 9, 10:23 pm, nkulmati wrote:
> Hi All, I am a newbie to Sage. My main purpose is to write scripts
> (algorithms). That is, I am not interested in the "answer-question"
> approach of the notebook, but I want to write and execute ".sage"
> files using sage just as I do with ".m" files using M
I just want to point out that running sage under sudo is not
advisable. Doing so will give sage super user privilages, which it
does not need, and can cause serious security issues.
Soroosh
On May 21, 10:27 pm, flori wrote:
> Thanks a lot for your replies...
>
> The following two commands work
On Thu, 21 May 2009 at 07:27PM -0700, flori wrote:
> The following two commands work now
>
> flor...@base:~/sage/sage-3.4$ sudo ./sage factor.sage 2006
> 2 * 17 * 59
>
> and
>
> flor...@base:~/sage/sage-3.4$ sudo ./sage ./factor 2006
> 2 * 17 * 59
>
> In the second case I changed the first line
Thanks a lot for your replies...
The following two commands work now
flor...@base:~/sage/sage-3.4$ sudo ./sage factor.sage 2006
2 * 17 * 59
and
flor...@base:~/sage/sage-3.4$ sudo ./sage ./factor 2006
2 * 17 * 59
In the second case I changed the first line of the file to
#! /path/to/sage -pyt
On 21 May 2009, at 06:53, Kevin Horton wrote:
> On 21 May 2009, at 02:22, flori wrote:
>
>> I would like to write a script using sage and I just followed the
>> tutorial page 82. I copied the example
>>
>> #!/usr/bin/env sage -python
>> import sys
>> from sage.all import *
>> if len(sys.argv) !=
Hi Florian,
On Thu, May 21, 2009 at 12:14 PM, flori wrote:
>
> the ls -lah command gives
>
> flor...@base:~/sage/sage-3.4$ ls -lah
> total 16M
> drwxr-xr-x 9 florian florian 4.0K 2009-05-21 20:09 .
> drwxr-xr-x 3 florian florian 4.0K 2009-04-19 15:38 ..
> -rw-r--r-- 1 florian florian 71K 200
hay
the variable SAGE_ROOT is set to
export SAGE_ROOT=/home/florian/sage/sage-3.4/
and that is where my file is...
regards
florian
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email t
the ls -lah command gives
flor...@base:~/sage/sage-3.4$ ls -lah
total 16M
drwxr-xr-x 9 florian florian 4.0K 2009-05-21 20:09 .
drwxr-xr-x 3 florian florian 4.0K 2009-04-19 15:38 ..
-rw-r--r-- 1 florian florian 71K 2009-04-19 15:38 COPYING.txt
drwxr-xr-x 8 florian florian 4.0K 2009-04-19 18:1
On 21 May 2009, at 02:22, flori wrote:
> I would like to write a script using sage and I just followed the
> tutorial page 82. I copied the example
>
> #!/usr/bin/env sage -python
> import sys
> from sage.all import *
> if len(sys.argv) != 2:
>print "Usage: %s "%sys.argv[0]
>print "Output
hi, have you set the executeable flag? what say's "ls -lah" ? and i
suppose you don't need "sudo".
h
PS: you don't have to send the message three times, i've disabled
moderation for you now ;)
On May 21, 8:22 am, flori wrote:
> Hay all
> I would like to write a script using sage and I just fol
16 matches
Mail list logo