px4-firmware/Tools/px4params/output.py

6 lines
150 B
Python

class Output(object):
def Save(self, groups, fn):
data = self.Generate(groups)
with open(fn, 'w') as f:
f.write(data)