#' Execute Python code.
#'
#' @param code Python code string.
#' @examples
#' python.exec("a = 1 + 2")
#' @export
python.exec <- function(code) {
invisible(.python.exec(code))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.