set parameters using python style (and auto-detection)