Thanks Ondrej Certík, it worked !. 

On Monday, April 21, 2014 11:49:06 PM UTC+5:30, jiju wrote:
>
> Hi,
>
> I have successfully installed SymPiy. Consider the following python  
> script test.py with output -sin(x) as expected
>
> from sympy import *
> var('x')
> print diff(cos(x), x)
>
> I would like to pass diff(cos(x), x) as a command line argument to python  
> script as python test.py  diff(cos(x), x). Could you help me in how to 
> execute this then?
>
> I tried to use print os.system(sys.argv[1]) which is not working! Thanks 
> in advance
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" 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 http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/2d09030e-b4c9-4a9b-b6a6-86fe43662ea2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to