Cerca
Heus ací els resultats de la cerca.
Noms de pàgina coincidents:
- 1.1 Classes, Instances, Attributes, Methods — introduction
- 1.2 Working with class and instance data – instance variables
- 2.1 Python core syntax
- 2.2 Inheritance and polymorphism — Inheritance as a pillar of OOP
- 2.3 Extended function argument syntax
- 2.4 Decorators
- 2.5 Different faces of Python methods
- 2.6 Abstract classes
- 2.7 Encapsulation
- 2.8 Composition vs Inheritance - two ways to the same destination
- 2.9 Inheriting properties from built-in classes
- 3.1 Advanced techniques of creating and serving exceptions
- 4.1 Shallow and deep copy operations
- 4.2 Serialization of Python objects using the pickle module
- 4.3 Making Python objects persistent using the shelve module
- 5.1 Metaprogramming
Resultats de text complet:
- 2.2 Inheritance and polymorphism — Inheritance as a pillar of OOP
- t we'll discuss this issue more a bit later. {{ :info:cursos:pue:python-pcpp1:pasted:20231013-035718.pn... ngs in Python) Can you see the diamond there? {{ :info:cursos:pue:python-pcpp1:pasted:20231013-040047.pn... h classes B and C. If you want to call the method info(), which part of the code would be executed then?... output of the code? <code python>class A: def info(self): print('Class A') class B(A):
- 2.1 Python core syntax
- ersal map, unrelated to any special data type. {{:info:cursos:pue:python-pcpp1:pasted:20231013-031457.png}} {{:info:cursos:pue:python-pcpp1:pasted:20231013-031512.png}} {{:info:cursos:pue:python-pcpp1:pasted:20231013-031526.png}} {{:info:cursos:pue:python-pcpp1:pasted:20231013-031545.pn
- 4.1 Shallow and deep copy operations
- thon> a_list = [ 1, 'New York', 100] </code> {{ :info:cursos:pue:python-pcpp1:pasted:20231026-143815.pn... se </code> This could be depicted as follows: {{ :info:cursos:pue:python-pcpp1:pasted:20231101-150854.pn... references to the already existing objects. {{ :info:cursos:pue:python-pcpp1:pasted:20231101-151357.pn... nction, delivered by the python 'copy' module {{ :info:cursos:pue:python-pcpp1:pasted:20231101-151525.pn
- 2.7 Encapsulation
- , to perform some actions on the attributes. {{ :info:cursos:pue:python-pcpp1:pasted:20231023-004942.pn
- 2.8 Composition vs Inheritance - two ways to the same destination
- , your inheriting classes could form a tree. {{ :info:cursos:pue:python-pcpp1:pasted:20231023-022208.pn
- 2.9 Inheriting properties from built-in classes
- ctionary contains only validated IBANs (keys) and info about the associated balance (value). Well, what
- 4.3 Making Python objects persistent using the shelve module
- > The meaning of the optional flag parameter: {{:info:cursos:pue:python-pcpp1:pasted:20231101-160208.pn
- 5.1 Metaprogramming
- type'' is ''type'' – no, that is not a typo. {{ :info:cursos:pue:python-pcpp1:pasted:20231104-102014.pn