Home | Trees | Indices | Help |
---|
|
object --+ | extension.Extension --+ | host.Host --+ | LocalHost
A 'LocalHost' is the machine on which Python is running.
The default directory for a 'LocalHost' is the current working directory for this Python process.
|
|||
Inherited from Inherited from |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
Copy 'local_file' to 'remote_file'. 'local_file' -- The name of the file on the local machine. 'remote_file' -- The name of the file on the remote machine. The 'remote_file' must be a relative path. It is interpreted relative to the default directory. If 'None', the 'remote_file' is placed in the default directory using the basename of the 'local_file'. If the 'local_file' and 'remote_file' are the same, then this function succeeds, but takes no action.
|
Run a program on the remote host. 'path' -- The name of the program to run, as a path on the local machine. 'arguments' -- As for 'Run'. 'environment' -- As for 'Run'. 'timeout' -- As for 'Run'. returns -- As for 'Run'. The program is uploaded to the default directory on the remote host, run, and then deleted.
|
Copy 'remote_file' to 'local_file'. 'remote_file' -- The name of the file on the remote machine. The 'remote_file' must be a relative path. It is interpreted relative to the default directory. 'local_file' -- The name of the file on the local machine. If 'None', the 'local_file' is placed in the current directory using the basename of the 'remote_file'. If the 'local_file' and 'remote_file' are the same, then this function succeeds, but takes no action.
|
Return true iff 'file1' and 'file2' are the same file. returns -- True iff 'file1' and 'file2' are the same file, even if they have different names. |
Delete the 'remote_file'. 'remote_file' -- A relative path to the file to be deleted.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Dec 23 12:30:41 2011 | http://epydoc.sourceforge.net |