2 ms·
I'm not familiar with both OpenStack and Python so I might be totally missing the point but JavaScript has a similar problem with DOM attributes and CSS rules.
by pmontra 11y ago
I'm not familiar with both OpenStack and Python so I might be totally missing the point but JavaScript has a similar problem with DOM attributes and CSS rules. It accesses them either as strings or as camel cased object properties. Example with jQuery
el.css({"background-color": "red"})
el.css({backgroundColor: "red"})
Can Python do the same?