Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Is there a pointer in python?
Is there a pointer in python?
No, due to the introduction of object mechanism (three attributes of an object: entity, type and value), the use of object-oriented languages such as Python, JAVA and C# that dynamically determine the type of variables can be very flexible. For example, we can look at other modules and functions in memory in the form of objects, get their information and operate them. In this way, you can define functions without names, call functions out of the order of parameters declared by the functions, or even refer to functions whose names are unknown in advance. That is to say, all languages except C/C++ do not use pointers, but use "references".