Learn R Programming

tensorflow (version 0.5.0)

py_run: Run Python code

Description

Execute code within the the __main__ Python module.

Usage

py_run_string(code)
py_run_file(file)

Arguments

code
Code to execute
file
File to execute

Value

Reference to __main__ Python module.