fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fab-user] Reading a remote file into memory


From: Jon Dufresne
Subject: [Fab-user] Reading a remote file into memory
Date: Thu, 10 Oct 2013 04:16:49 -0700

Hi,

What is considered the best way to read a remote file into memory to
be used by Python or Fabric? Should I shell out to cat on the server
"contents = run('cat /path/to/file')" or is there a better way?

My Fabric file requires parsing a file to continue other operations on
the server.

Thanks,
Jon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]