fabric用run来执行服务器的命令,它能否让python函数也在远端服务器上执行?要怎么操作?
with cd('/root/haha'): put('xxx.py') run('python xxx.py')