Description Usage Arguments Author(s) Examples
py.attr
retrieves the attribute of a Python object.
`$`
is a syntactic sugar for retrieving an attribute and
`$<-`
for setting it.
1 2 3 |
x |
Python reference object |
name |
name of the attribute |
value |
new value |
.ref |
logical, if |
Simon Urbanek
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.