I know that this is basic, but we could say that I am a bit new in python and there are things that I do not know. I want to make a call for a function within another function, they are all within the same class. Example:
Import ClassHeredada
Class MyClass(ClassHeredada):
def mi_funcion1(nombre):
return nombre
def mi_retorno(nombre):
print mi_funcion1(nombre)
Show me this error:
NameError: global name 'mi_funcion1' is not defined
I do not realize where the error is.