Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/a/m/amitools-HEAD/amitools/fs/ADFSDir.py   amitools(Download)
  def create_file(self, name, data, meta_info=None, update_ts=True):
    if not isinstance(name, FSString):
      raise ValueError("create_file's name must be a FSString")
    node = ADFSFile(self.volume, self) 
    node.set_file_data(data)