ev3dev / ev3dev-lang

(deprecated) language bindings for ev3dev sensors, motors, LEDs, etc.
GNU General Public License v2.0
56 stars 39 forks source link

[python][autogen] Treat write-only properties as properties in python #66

Closed ddemidov closed 9 years ago

ddemidov commented 9 years ago
  d.command = 'run-forever'

is nicer than

  d.set_command('run_forever')

Also, something like this is possible:

  (d.speed_sp, d.time_sp, d.command) = (900, 5000, 'run-timed')