tessl install tessl/github-python--cpython@3.13.0CPython is the reference implementation of the Python programming language providing the core interpreter, runtime system, and comprehensive standard library.
Agent Success
Agent success rate when using this tile
96%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.07x
Baseline
Agent success rate without this tile
90%
A helper that executes Python scripts or modules the way the interpreter does, with controlled arguments, search paths, and inline evaluation.
__main__ entrypoint executes it as a script, returning its printed message in stdout and exit code 0 @testx + y with provided globals returns the computed value @test@generates
from dataclasses import dataclass
from typing import Any, Iterable, Mapping, Optional
@dataclass
class RunResult:
exit_code: int
stdout: str
stderr: str
def run_file(script_path: str, args: Optional[Iterable[str]] = None, workdir: Optional[str] = None) -> RunResult:
...
def run_module(module_name: str, args: Optional[Iterable[str]] = None, workdir: Optional[str] = None) -> RunResult:
...
def eval_snippet(source: str, globals_ns: Optional[Mapping[str, Any]] = None, locals_ns: Optional[Mapping[str, Any]] = None) -> Any:
...Provides interpreter runtime for executing files, modules, and dynamic code evaluation. @satisfied-by