Thank you very much for your help.
I think what you told me is the reason it did not work, 
so I will try.

On Friday, April 15, 2016 at 5:45:36 AM UTC-4, Dima Pasechnik wrote:
>
> in order to call sage from anywhere, you either have to type the full path 
> to, e.g. 
> /Users/blah/Desktop/SageMath/sage -python 
> or add /Users/blah/Desktop/SageMath/ to your PATH
> The latter is a standard way to let programs installed at non-standard 
> locations to be visible in Terminal. See e.g.
>
> http://stackoverflow.com/questions/22465332/setting-path-environmental-variables-in-osx-permanently
> for details.
>
>
> On Thursday, April 14, 2016 at 10:04:28 PM UTC+1, ana...@g.uky.edu 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 sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
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