Open file on remote linux server

Diez B. Roggisch deets at nospam.web.de
Wed Sep 23 17:41:35 EDT 2009


The Bear schrieb:
> Hi I'm looking to do something like this
> 
> f = f.openfileobj(remotefileloc, localfilelikeobj)
> 
> my remote files are on a solaris box that i can access using ssh (could
> prehap request othe protocols if necessary)
> 
> anyone got any ideas?

try paramiko. Or just use subprocess to scp and open the file locally.


Diez



More information about the Python-list mailing list