How to execute a python script
How to execute a python script
I installed python on my F2-220 hoping I can use it to automate some filesystem tasks. However I could not find any way to actually launch python in order to execute the code in a py file. Is there a way to do this? Or what is the point of installing python?
Re: How to execute a python script
Hi giannpls,
To launch py file, you need to add command '#!/usr/bin/python' at first line of your py file. For more information, please visit
https://www.python.org/about/gettingstarted/
To launch py file, you need to add command '#!/usr/bin/python' at first line of your py file. For more information, please visit
https://www.python.org/about/gettingstarted/
To contact our team, please send email to following addresses, remember to replace (at) with @:
Support team: support(at)terra-master.com (for technical support only)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Support team: support(at)terra-master.com (for technical support only)
Service team: service(at)terra-master.com (for purchasing, return, replacement, RMA service)
Re: How to execute a python script
Hi TMroy,
Thanks for your response. My confusion was due to lack of a terminal type application when using the web UI. Once I realized I could log in through telnet I was able to get it working. Thanks for your tip though.
Thanks for your response. My confusion was due to lack of a terminal type application when using the web UI. Once I realized I could log in through telnet I was able to get it working. Thanks for your tip though.