This is a development version (latest) and may be unstable. Go to latest (9.13.0)
{ } Raw JSON

bundles / IPython latest / IPython / core / compilerop / CachingCompiler / get_code_name

function

IPython.core.compilerop:CachingCompiler.get_code_name

source: /IPython/core/compilerop.py :100

Signature

def   get_code_name ( self raw_code transformed_code number )

Summary

Compute filename given the code, and the cell number.

Parameters

raw_code : str

The raw cell code.

transformed_code : str

The executable Python source code to cache and compile.

number : int

A number which forms part of the code's name. Used for the execution counter.

Returns

: The computed filename.

Aliases

  • IPython.core.compilerop.CachingCompiler.get_code_name