r los productos con un descuento dado.
* pass-the-cookie
* robar cookies para logearse en una... sos de Burp Suite
=== Lab 1 Module 14: Footprint the Web Infrastructure
==== Task 1: Perform Web Appli... g Nmap and Telnet
- Perform a Whois lookup to gather information about the IP address of the web server and the complete information about the domain such
PEP 257?
PEP 257 is a document created as part of the Python Developer's Guide, which makes an attempt to standardize the high-level structure of docstrings. It outlines the **conventions**, best practices, and semantics (no... de using docstrings. In short, it tries to answer the following two questions:
- What should Python
ng a non-existing/malformed address
We’ve reached the point in which we are ready to gather all new facts and tools and glue all these pieces into one functional block. You already know how HTTP works, how it’ is mounted on top of the TCP stack and how the HTTP server is able to do m
ls:
* we want to write **a program which reads the address of a WWW site** (e.g., pythoninstitute.org) using the standard ''input()'' function and **fetches the root document** (the main HTML document of the WWW site) of the specified site;
* the program **outp
= 2.1 PEP 20 – The Zen of Python
The **Zen of Python** is a collection of 19 aphorisms, which reflect the philosophy behind Python, its guiding principles,... gn.
Tim Peters, a long time major contributor to the Python programming language and Python community,
are different content. You’ve surely noticed that the data sent to those applications are still availab... ossible?
Data is simply information about users, the contents of their posts, and comments. The data are all kinds of information that we can send to the application. Duri
= 1.6 Making life easier with the requests module
We have reached the point where we can start the final stage of our journey – we know enough to communicate with the web service using JSON as an information carrier.
mer, you'll have to read or create a data file in the XML format. Soon, doing that will be a piece of cake.
The standard Python library offers some interesting m... lent choice for people who have never worked with the Document Object Model (DOM) before.
* **xml.dom.minidom** – is the minimum implementation of the Document Object Mod
= 2.4 Decorators
A decorator is one of the design patterns that describes the structure of related objects. Python is able to decorate functions, methods, and classes.
The decorator's operation is based on wrapping the original function with a new "decorating" function (or
ide) 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 to make the code more consistent, more readable, and more eff...
Even though some programming projects may adopt their own style guidelines (in which case such project-specific guidelines may be favored over the conventions provided for by PEP 8, especially in
of acronyms which plays a very important role in the IT industry. Okay, that’s enough jokes about TLA’s for one course, all the more that GUI is present nearly everywhere. Look ... even washing machine or heating controller – all these things have a screen, most of them colored and many (more and more every year) use it to display a G
fer documents of virtually any type. For example, the document format produced by MS Office applications (the newer one with file extensions ending with x like... We only want to show you how it’s built and what the most important differences between XML and JSON are. It can be intriguing how different they are, although both the solutions were invented f
= 4.1 Logging in Python
== Logging in Python
The Python Standard Library provides a useful module called ''logging'' to log events occurring in the application. Logs are most often used to find the cause of an error. By default, Python and its modules provide many logs informing you of the causes of errors. However, it's good practice to
t of view TkInter is a package named **tkinter**. The package contains a bunch of functions, constants,... cts, and modules used to build GUI applications.
The GUI application itself consists of four essential elements:
* **importing** the needed **tkinter** components;
* **creating** a... dow;
* adding a set of necessary **widgets** to the window;
* **launching** the event controller.
rse Series: RESTful APIs
== Some words about REST
The word you see below may look a little enigmatic: R... ng to convince you to take a rest? Not at all. On the contrary, we want to encourage you to start the next part of our adventure - very demanding and comple... computer systems, especially those which work on the Internet; moreover, which cannot work without the