Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- 2.3 A small lexicon of widgets - Part 3 @info:cursos:pue:python-pcpp1:m3
- in fact, a **set of cooperating widgets**. The ''Entry'' widget not only presents a line of text, but is also able to **edit** the text according to the user’s actions. Using an ''Entry'' is necessary when you are going to ask the user for any textual information: name, password, ema
- 3.1 PEP 8 – Introduction @info:cursos:pue:python-pcpp1:m2
- = 3.1 PEP 8 – Introduction As mentioned earlier, PEP 8 is a document that provides coding conventions (code style guide) for Python code. PEP 8 is considered one of the... grammer, as it helps to make the code more consistent, more readable, and more efficient. Even though
- 4.1 PEP 257 – Docstring Conventions @info:cursos:pue:python-pcpp1:m2
- = 4.1 PEP 257 – Docstring Conventions == What is PEP 257? PEP 257 is a document created as part of the Python Developer's Guide, which... el structure of docstrings. It outlines the **conventions**, best practices, and semantics (not laws or regulations!) associated with documenting Python code using docstrings. In short, it tr
- 1.5 What is XML and why do we prefer to use JSON? @info:cursos:pue:python-pcpp1:m4
- e. XML is – like JSON – a **universal and transparent carrier** of any type of data. You can use it to store and transfer 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 docx) utilizes XML to cre
- 2.1 File processing - XML files @info:cursos:pue:python-pcpp1:m5
- odules 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 Object Model (DOM) before. * **xml.dom.minidom** – is the minimum implementation of the Document Object Model (DOM). Using t
- 2.1 PEP 20 – The Zen of Python @info:cursos:pue:python-pcpp1:m2
- = 2.1 PEP 20 – The Zen of Python The **Zen of Python** is a collection of 19 aphorisms, which reflect the philosophy behind ... on the Python mailing list in 1999, and it became entry #20 in the Python Enhancement Proposals in 2004. It’s one of the //Easter eggs// (i.e., hidden, s
- 1.7 Four magic letters: CRUD @info:cursos:pue:python-pcpp1:m4
- = 1.7 Four magic letters: CRUD == Entering a non-existing/malformed address We’ve reached the point in... ined web server can be a very **effective and convenient gateway** to very complicated and heavy databases or other services designed for storing and proc... he same. We can say that that's what REST was invented for. Thanks to it, very different programs wri
- 1.2 How to use sockets in Python @info:cursos:pue:python-pcpp1:m4
- w to use sockets in Python == How to fetch a document from a server using Python We are going to write... ''input()'' function and **fetches the root document** (the main HTML document of the WWW site) of the specified site; * the program **outputs the document** to the screen; * the program **uses TCP to c
- 4.1 Shallow and deep copy operations @info:cursos:pue:python-pcpp1:m1
- lly, you'll learn about: * object: label vs. identity vs. value; * the id() function and the is o... t making use of variables. As variables are fundamental elements that allow us to cope with objects, let's talk in detail about variables and objects, and possible ways of copying them. When you spot the following clause: <code python> a_li
- 2.9 Inheriting properties from built-in classes @info:cursos:pue:python-pcpp1:m1
- ilt-in class in order to get a new class that can enrich the parent's attributes or methods. As a result, your newly-created class has the advantage of al... well-known functionalities inherited from its parent or even parents and you can still access those attributes and methods. Later, you can override the
- Python Professional Course Series: GUI Programming @info:cursos:pue:python-pcpp1:m3
- m. Moreover, it’s a three-letter acronym, a representative of a well-known class of acronyms which pla... y 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 around you – you’ll see a couple of different devices equipped with screens: phone, tablet, co
- 1.6 Making life easier with the requests module @info:cursos:pue:python-pcpp1:m4
- an start the final stage of our journey – we know enough to communicate with the web service using JSO... . Unfortunately, our knowledge needs to be supplemented – we need a **server serving** a web **service** (sorry for all these serv..., we weren't able to avoid them) and we also need a tool sim... too powerful. It exposes lots of details which aren't necessary available at the higher levels of sof
- 2.8 Composition vs Inheritance - two ways to the same destination @info:cursos:pue:python-pcpp1:m1
- two ways to the same destination So far we've been using and following the inheritance concept when modeling our classes to represent real-life issues. Inheritance is a great concept, one of the most important foundations of object-oriented programming that models a tight relation betwe
- 1.1 SQLite @info:cursos:pue:python-pcpp1:m5
- w accounts, and existing users add or share different content. You’ve surely noticed that the data sent to those applications are still available after a few days, or even years. Do you know how that’s possible? Data is
- 2.2 Inheritance and polymorphism — Inheritance as a pillar of OOP @info:cursos:pue:python-pcpp1:m1
- s a pillar of OOP Inheritance is one of the fundamental concepts of object oriented programming, and expresses the fundamental relationships between classes: superclasses (parents) and their subclasses (descendants). Inherita