(self, in_filename)
return True
Load header content from file instead of from Curl()
        Alternative to write() to be used with the curl executable
        version.
Load header content from file instead of from Curl()
        Alternative to write() to be used with the curl executable
        version.
Load header content from file instead of from Curl () Alternative to write () to be used with the curl executable version .
def setvalue_from_file(self, in_filename):
        """Load header content from file instead of from Curl()
        Alternative to write() to be used with the curl executable
        version.
        """
        try:
            infile = open(in_filename, 'r')
        except (IOError, OSError):
            return False
        for line in infile:
            self.write(line)
        infile.close()
        return True
def setvalue_from_file ( self , in_filename ) : try : infile = open ( in_filename , 'r' ) except ( IOError , OSError ) : return False for line in infile : self . write ( line ) infile . close ( ) return True