Question: Is there a way to call Python Script from Maple?

I have a Maple program and i need to call a python script with a specified input (10 integers). The script returns a number that I would like to use in my Maple program afterwards. This is what I would do in shell:


result=`python 1 2 3 4 5 6 7 8 9 10`
echo $result


Is there a way to get the `result` using Maple? I checked the documentation for Maple and it is not very clear so I appreciate any help on this. Thanks!

Please Wait...