bundles / IPython 9.17.0 / IPython / core / compilerop / CachingCompiler / get_code_name
function
IPython.core.compilerop:CachingCompiler.get_code_name
Signature
def get_code_name(self, raw_code: str, transformed_code: str, number: int) → strSummary
Compute filename given the code, and the cell number.
Parameters
raw_code: strThe raw cell code.
transformed_code: strThe executable Python source code to cache and compile.
number: intA 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