class_docstr: This is like pexpect.spawn but allows you to supply your own open file
  descriptor. For example, you could use it to read through a file looking
  for patterns, or to control a modem or serial device. 
class_docstr_tok: ["This","is","like","pexpect.spawn","but","allows","you","to","supply","your","own","open","file","descriptor",".","For","example",",","you","could","use","it","to","read","through","a","file","looking","for","patterns",",","or","to","control","a","modem","or","serial","device","."]
docstr: Write to fd, return None
docstr_tok: ["Write","to","fd",",","return","None"]
code: def write(self, s):
      "Write to fd, return None"
      self.send(s)
  
file_path: catboost/contrib/python/pexpect/py3/pexpect/fdpexpect.py
imports: from .spawnbase import SpawnBase
  from .exceptions import ExceptionPexpect, TIMEOUT
  from .utils import select_ignore_interrupts, poll_ignore_interrupts
  import os
label_desc: Use image node_id 7 for calling the fdspawn obj's underlying member method code with example usage: obj.write(s) without return types