简体   繁体   中英

How to run python script on multiple remote machine? without installing the script?

I created a simple python script which can give what kind of operating system it is using. But I want this script to run multiple remote machine at a same time without installing it on other machine on the same network. Is it possible to run this script on remote machine without installing this script on remote machine? . I saw with ssh python can do this .

Based on the way your question is worded, I think the answer is no.

If you want to run a python script on a remote machine, you will need to have a python interpreter of some kind available on the remote machine to execute the code.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM