# NOT RUN {
pyCall("sum", args=list(1:3))
## define a new function with the name fun
pyExec('
def fun(**kwargs):
return([(key, value) for key, value in kwargs.items()])
')
pyCall("fun", kwargs=list(a=1, f=2, x=4))
# }
Run the code above in your browser using DataLab