Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- 5.1 Metaprogramming @info:cursos:pue:python-pcpp1:m1
- = 5.1 Metaprogramming == Introduction to metaclasses Metaprogramming is a programming technique in whic... Another example of metaprogramming is the **metaclass** concept, which is one of the most advanced con... en of Python**, expressed his feelings about metaclasses in the **comp.lang.python** newsgroup on 12/22/2002: //[metaclasses] are deeper magic than 99% of users should eve
- 2.2 Inheritance and polymorphism — Inheritance as a pillar of OOP @info:cursos:pue:python-pcpp1:m1
- expresses the fundamental relationships between classes: superclasses (parents) and their subclasses (descendants). Inheritance creates a class hierarchy. Any object bound to a specific level of class
- 1.2 Working with class and instance data – instance variables @info:cursos:pue:python-pcpp1:m1
- = 1.2 Working with class and instance data – instance variables == Instance variables This kind of vari... are closely connected to the objects (which are class instances), not to the classes themselves. To get access to the instance variable, you should address... ssed in the code presented below. <code python> class Demo: def __init__(self, value): sel
- 2.6 Abstract classes @info:cursos:pue:python-pcpp1:m1
- = 2.6 Abstract classes Python is considered to be a very flexible programming language, but that doesn’... impose a set of functionalities or an order in a class hierarchy. When you develop a system in a group ... have some means of establishing requirements for classes in matters of interfaces (methods) exposed by each class. == What is an abstract class? An **abstract cla
- 2.5 Different faces of Python methods @info:cursos:pue:python-pcpp1:m1
- strates the idea presented above. <code python> class Example: def __init__(self, value): ... le2.get_internal()) </code> Each of the Example class objects has its own copy of the instance variabl... <code ; output> 10 99 </code> == The static and class methods Two other types of method can also be used in the Object Oriented Approach (OOP): * class methods; * static methods. These alternative
- 1.1 Classes, Instances, Attributes, Methods — introduction @info:cursos:pue:python-pcpp1:m1
- = 1.1 Classes, Instances, Attributes, Methods — introduction == Introduction to Object-Oriented Program... should agree on the following definitions: * class — an idea, blueprint, or recipe for an instance; * instance — an instantiation of the class; very often used interchangeably with the term '... ates of instances; * attribute — any object or class trait; could be a variable or method; * method
- 2.4 Decorators @info:cursos:pue:python-pcpp1:m1
- thon is able to decorate functions, methods, and classes. The decorator's operation is based on wrappi... al function with a new "decorating" function (or class), hence the name "decoration". This is done by p... The same principle is applied when we decorate classes. We'll talk about this a bit later. So from n... m 'decorator' will be understood as a decorating class or a decorating function. Decorators are used t
- 2.8 Composition vs Inheritance - two ways to the same destination @info:cursos:pue:python-pcpp1:m1
- lowing the inheritance concept when modeling our classes to represent real-life issues. Inheritance is ... ramming that models a tight relation between two classes: the base class and the derived class, called a subclass. The result of this relation is a subclass class that inher
- Apuntes SinCara Extras systemd @info:cursos:pue:ethical-hacker:extras
- de SysV init, lo que facilita la transición para las distribuciones que migran a SystemD. * 🇬🇧 https... na resolución de nombres de dominio y reemplaza a las soluciones tradicionales como resolv.conf. * **... es de usuario de SystemD. Se encarga de gestionar las sesiones de usuario, el control de acceso y la su... sión de SystemD instalada * El - y el + indican las características habilitadas de SystemD. Cada Dist
- 2.9 Inheriting properties from built-in classes @info:cursos:pue:python-pcpp1:m1
- = 2.9 Inheriting properties from built-in classes Python gives you the ability to create a class that inherits properties from any Python built-in class in order to get a new class that can enrich the parent's attributes or methods. As a result, your new
- Curso python (PCPP1) PUE 2023
- .org/]] == PCPP1 / M1 | Advanced Perspective of Classes and Object-Oriented Programming in Python * Classes, instances, attributes, methods, as well as working with class and instance data; * shallow and deep operations; * abstract classes, method overriding, static and class methods,
- 2.1 Python core syntax @info:cursos:pue:python-pcpp1:m1
- str(), len() * reflexion – isinstance(), issubclass() and a few more elements. Python allows us to... agine the following situation: you've created a class that represents a person; each instance of the class owns a set of attributes describing a person: ag... at does it mean to add two objects of the Person class? Well, it depends on the domain of your applicat
- Apuntes SinCara sesión 1 @info:cursos:pue:ethical-hacker:sesion1
- directamente al CEO, y se encarga directamente de las estrategias de la organización que están alineada... ase/cyber-kill-chain/ - Cyber Kill Chain * TTP: Las técnicas son las herramientas utilizadas, la táctica es la forma de combinar esas herramientas para ha... ficado en una red o endpoint pudiendo mejorar así las capacidades ante la gestión de incidentes. *
- Apuntes SinCara Extras @info:cursos:pue:ethical-hacker:extras
- Eso os permite ver vuestras deficiencias, estudiarlas, y presentaros al examen lo antes posible. Según pasa el tiempo, decrecen las posibilidades. No dejar pasar más de un mes. * ... d física. * Hay que estar muy actualizado con las novedades tecnológicas que van surgiendo. * El ... idad, son los insiders. * El mayor agujero de las contraseñas es la pregunta de seguridad. * En
- 3.1 PEP 8 – Introduction @info:cursos:pue:python-pcpp1:m2
- style guidelines. The online tool is built using Flask, Twitter Bootstrap, and the PEP8 module (the ver... blank lines** to surround top-level function and class definitions: <code python ✔> class ClassOne: pass Class ClassTwo: pass def my_top_level_function(): return None </code>