Skip to main content

CODE

Execute a script

Example Usage

CODE(datetime.now())  // returns current time
CODE("The time is {currenttime}!".format(currenttime=datetime.now()) // returns current time
CODE("The time is %(currenttime)s!" % {"currenttime":datetime.now()})

Overview

Function signature
CODE(script)

Category
Logical

Return data type
None

Arguments

NameDataTypeList Options                          Description
scriptstringThe script to execute