bundles / IPython 9.5.0 / 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: 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