Writing schematic/symbol files. More...
Functions | |
def | write |
Save a symbol or schematic file. More... | |
def | write_file |
Write a symbol or schematic to a file. More... | |
Writing schematic/symbol files.
def xorn.geda.write.write | ( | rev, | |
filename, | |||
format = None , |
|||
write_kwds = {} , |
|||
format_kwds | |||
) |
Save a symbol or schematic file.
See xorn.fileutils.write for a description of the keyword arguments.
None
xorn.geda.fileformat.UnknownFormatError | |
IOError,OSError | if a filesystem error occurred |
ValueError | if an object with an unknown type is encountered |
def xorn.geda.write.write_file | ( | f, | |
rev, | |||
format, | |||
kwds | |||
) |
Write a symbol or schematic to a file.
[in] | f | A file-like object to which to write |
[in] | rev | The symbol or schematic which should be written |
None
ValueError | if format is not a valid file format |
ValueError | if an object with an unknown type is encountered |