kifield/schlib.py
def save(self, backup=True, filename=None):
        """Save schematic in a file."""

        if not filename:
            filename = self.filename

        if backup:
            create_backup(filename)

        with open(filename, "w") as fp:
            fp.write(sexp_indent(sexpdata.dumps(self.sexpdata)))
Save schematic in a file.
Save schematic in a file.
Save schematic in a file .
def save(self, backup=True, filename=None):
        if not filename:
            filename = self.filename
        if backup:
            create_backup(filename)
        with open(filename, "w") as fp:
            fp.write(sexp_indent(sexpdata.dumps(self.sexpdata)))
def save ( self , backup = True , filename = None ) : if not filename : filename = self . filename if backup : create_backup ( filename ) with open ( filename , "w" ) as fp : fp . write ( sexp_indent ( sexpdata . dumps ( self . sexpdata ) ) )
Save schematic in a file.
Save schematic in a file .
"""Save schematic in a file."""
self
backup
filename