def list_remote_pythons(host):
 result = host.run('ls /usr/bin/python[0-9]*')
 return result.stdout.splitlines()

def list_remote_pythons ( host ) : result = host . run ( 'ls /usr/bin/python[0-9]*' ) return result . stdout . splitlines ( )
list out installed pythons on host .