What do you expect from the command "sage"? Could you copy/paste the output of

$ which sage

Does it corresponds to your SageMath directory?

On 14/04/16 18:04, [email protected] wrote:
I use Mac version10.10.4.

I would like to run a python code that uses sage on terminal.

So on terminal I typed,
sage -python fiberWalks.py
(fiberWalks.py is the file name.)

But it gives me an error,
-bash: -python: command not found

Usually when I use sage, I just type
./sage
in my SageMath directory.

How should I run the python file?
If more information is needed to answer, please point 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to