Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- 1.7 Four magic letters: CRUD @info:cursos:pue:python-pcpp1:m4
- k and how the HTTP server is able to do much more for us than just store and publish fancy images and f... ed and heavy databases or other services designed for storing and processing information. Moreover, the... e. We can say that that's what REST was invented for. Thanks to it, very different programs written in... reate”, you can add new items to data collection, for example, write a new blog post, add a new picture
- 3.1 PEP 8 – Introduction @info:cursos:pue:python-pcpp1:m2
- at provides coding conventions (code style guide) for Python code. PEP 8 is considered one of the most important PEPs and a must-read for every professional Python programmer, as it helps... ines may be favored over the conventions provided for by PEP 8, especially in the case of any conflicts... oject, it may be better to ignore them and decide for yourself what is best. As PEP 8 says: //A style
- 4.1 PEP 257 – Docstring Conventions @info:cursos:pue:python-pcpp1:m2
- ction (as their names suggest): comments are used for **commenting** your code, while docstrings are used for **documenting** your code. So, what is the differ... ode** you're describing in order to make it clear for the reader which part of the code you're referrin... , comments may serve a few other useful purposes. For example: * they can help you **tag** those sec
- 1.5 What is XML and why do we prefer to use JSON? @info:cursos:pue:python-pcpp1:m4
- ore and transfer documents of virtually any type. For example, the document format produced by MS Offic... ey are, although both the solutions were invented for nearly the same purpose. Take a look – it's a si... l - List of cars ready to sell --> <!DOCTYPE cars_for_sale SYSTEM "cars.dtd"> <cars_for_sale> <car> <id>1</id> <brand>Ford</brand> <mod
- 2.1 File processing - XML files @info:cursos:pue:python-pcpp1:m5
- rd Python library offers some interesting modules for working with XML: * **xml.etree.ElementTree** – has a very simple API for analyzing and creating XML data. It's an excellent choice for people who have never worked with the Document Ob... is an object. * **xml.sax** – SAX is an acronym for “Simple API for XML”. SAX is an interface in Pyth
- 2.9 Inheriting properties from built-in classes @info:cursos:pue:python-pcpp1:m1
- the methods by delivering your own modifications for the selected methods. In the following example, ... , value) def extend(self, iterable): for element in iterable: IntegerList.chec... e have delivered: * a static, dedicated method for checking argument types. As we have delegated thi... a magic method (mind the underscores) responsible for inserting (overwriting) an element at a given pos
- Ethical Hacker : sesión 4 @info:cursos:pue:ethical-hacker
- ider tab. - The URLs tab contains various links for hidden content and functionality associated with ... } - The tool starts scanning the target website for vulnerabilities.{{:info:cursos:pue:ethical-hacker... so go through the RECOMMENDATION section to check for the recommended actions to patch the vulnerabilit... Type here to search field on the Desktop, search for wampserver64 in the search bar and select Wampser
- 5.1 Metaprogramming @info:cursos:pue:python-pcpp1:m1
- dea was born and implemented in the early 1960s. For Python, code modifications can occure while the c... ut the truth is that this technique could be used for tool preparation; those tools could be applied to... e behavior of certain objects, a metaclass allows for the customization of class instantiation. The fu... tomation must be provided. The typical use cases for metaclasses: * logging; * registering classe
- 2.1 PEP 20 – The Zen of Python @info:cursos:pue:python-pcpp1:m2
- at you see is a collection of some general truths for Python design rules and decision making. Even tho... n to your code after some time, or leave the code for others to develop in the future. Giving **meanin... complexity of a given problem should be an excuse for writing code that does not follow the guidelines.... the real-world coding problems may find an excuse for making an exception to the rules. Practicality th
- 2.2 Inheritance and polymorphism — Inheritance as a pillar of OOP @info:cursos:pue:python-pcpp1:m1
- pass</code> All the presented classes are empty for now, as we're going to show you how the mutual re... hat: * the **Vehicle** class is the superclass for both the **LandVehicle** and **TrackedVehicle** c... nce scenario, any specified attribute is searched for first in the current class. If it is not found, t... fine the method ''info()'', so Python has to look for it in the class hierarchy; * **class D** is con
- 1.2 How to use sockets in Python @info:cursos:pue:python-pcpp1:m4
- network sockets. Of course, we'll harness Python for this purpose. Here are our goals: * we want t... IP works and how it is able to act as **a carrier for REST**. We can say that TCP/IP is interesting for us only to the extent that it is able to transport HTTP traffic, and HTTP is interesting for us only to the extent that it is able to act as a
- 1.1 SQLite @info:cursos:pue:python-pcpp1:m5
- agement system (DBMS) is the software responsible for: * creating a database structure; * inserting... anagement; * ensuring concurrent access to data for many users; * enabling data exchange with other... dition, it's used by companies producing software for cars and airplanes. The database file is cross-pl... 2.0 specification is to define a common standard for creating modules to work with databases in Python
- 2.1 Python core syntax @info:cursos:pue:python-pcpp1:m1
- trings, lists, integers, and floats. It’s natural for us to formulate expressions using algebraic symbo... application. If you’re developing an application for an elevator, then you should remember that every ... gers, or even two Person class objects – it looks for the magic method responsible for the called function or operator in order to apply it to the operands
- Python Professional Course Series: GUI Programming @info:cursos:pue:python-pcpp1:m3
- T industry. Okay, that’s enough jokes about TLA’s for one course, all the more that GUI is present near... er. They communicate bidirectionally. GUI stands for Graphical User Interface. In this three-word acro... ack. Are you ready? Okay, let’s go! == Terminals For a very long time (about 30 years or even longer) ... portant as it dictated the way software was built for a very long time, almost an era in the history of
- 1.1 Python Professional Course Series: RESTful APIs @info:cursos:pue:python-pcpp1:m4
- separately. === Representational **RE** stands for //Representational//. It means that our machinery... next part of the acronym. === State **S** stands for State. The word state is key to understanding what REST is and what it could be used for. We think that your knowledge of classes and obj... t part of the acronym. === Transfer **T** stands for Transfer. The network (not only the Internet) is