def change_value_in_file(filename, quantity, newValue, sim=False, filepath=False, DEBUG=False): """Same as pencilnew.io.change_value_in_file.""" from pencilnew.io import change_value_in_file return change_value_in_file(filename, quantity, newValue, sim=sim, filepath=filepath, DEBUG=DEBUG)
def change_value_in_file(self, filename, quantity, newValue, filepath=False, DEBUG=False): """Same as pencilnew.io.change_value_in_file.""" from pencilnew.io import change_value_in_file return change_value_in_file(filename, quantity, newValue, sim=self, filepath=filepath, DEBUG=DEBUG)