Logo Search packages:      
Sourcecode: r-cran-nws version File versions  Download package

def nwsclient::NetWorkSpace::fetchTryFile (   self,
  varName,
  fobj 
)

Try to return and remove a value of a variable from a workspace.

ws.fetchTryFile(varName, fobj)

Arguments:

varName -- Name of the variable to fetch.

fobj -- File to write data to.

Definition at line 914 of file nwsclient.py.

00914                                          :
        """Try to return and remove a value of a variable from a workspace.

        ws.fetchTryFile(varName, fobj)

        Arguments:

        varName -- Name of the variable to fetch.

        fobj -- File to write data to.

        """
        if type(varName) != str:
            raise TypeError, 'variable name must be a string'

        try:
            return self.__retrieveFile(varName, 'fetchTry', fobj)
        except:
            return False

    def findFile(self, varName, fobj):


Generated by  Doxygen 1.6.0   Back to index