Cerca

Heus ací els resultats de la cerca.

4.1 PEP 257 – Docstring Conventions @info:cursos:pue:python-pcpp1:m2
123 Resultats, Darrera modificació:
It outlines the **conventions**, best practices, and semantics (not laws or regulations!) associated w... s** that are used in the class, module, function, and method definition in order to provide information... They help programmers (including you) to remember and understand the purpose, operation, and capabilities of particular code blocks or sections. == Docstrin
2.1 PEP 20 – The Zen of Python @info:cursos:pue:python-pcpp1:m2
101 Resultats, Darrera modificació:
philosophy behind Python, its guiding principles, and design. Tim Peters, a long time major contributor to the Python programming language and Python community, wrote this 19-line poem on the Python mailing list in 1999, and it became entry #20 in the Python Enhancement Pro... or window, type in ''import this'', run the code, and voilà! Can you see what happens? What you see is
3.1 PEP 8 – Introduction @info:cursos:pue:python-pcpp1:m2
89 Resultats, Darrera modificació:
EP 8 is considered one of the most important PEPs and a must-read for every professional Python program... to make the code more consistent, more readable, and more efficient. Even though some programming pro... to better understand the philosophy behind Python and become a more aware and proficient programmer. PEP 8 is still evolving as new, additional conventions
1.6 Making life easier with the requests module @info:cursos:pue:python-pcpp1:m4
53 Resultats, Darrera modificació:
all these serv..., we weren't able to avoid them) and we also need a tool simpler than the ''socket'' m... It does, but it’s **too good**. It's too choosy and too powerful. It exposes lots of details which ar... ant to understand network issues at the TCP level and to learn which challenges the OS faces when it tries to establish, maintain, and close internet connections. This is why we used i
Python Professional Course Series: GUI Programming @info:cursos:pue:python-pcpp1:m3
51 Resultats, Darrera modificació:
these things have a screen, most of them colored and many (more and more every year) use it to display a GUI and to communicate with the user. They communicate bidirectio... it’s a tool used by the user to command a device and to receive its responses. But what does it mean
1.5 What is XML and why do we prefer to use JSON? @info:cursos:pue:python-pcpp1:m4
48 Resultats, Darrera modificació:
= 1.5 What is XML and why do we prefer to use JSON? **XML** is a **language**. Anyway, this is what it ... t itself. Note – it isn't a programming language, and although it is possible to build a real programming language on top of XML, it wasn't (and still isn't) its native niche. XML is – like JSON – a **universal and transparent carrier** of any type of data. You ca
2.2 Inheritance and polymorphism — Inheritance as a pillar of OOP @info:cursos:pue:python-pcpp1:m1
43 Resultats, Darrera modificació:
= 2.2 Inheritance and polymorphism — Inheritance as 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). Inheritance creat... class hierarchy inherits all the traits (methods and attributes) defined inside any of the superclasse
1.7 Four magic letters: CRUD @info:cursos:pue:python-pcpp1:m4
42 Resultats, Darrera modificació:
int 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 much more for us than just store and publish fancy images and funny videos. In fact,
2.1 Python core syntax @info:cursos:pue:python-pcpp1:m1
33 Resultats, Darrera modificació:
allow us to operate on strings, lists, integers, and floats. It’s natural for us to formulate expressi... rings’ concatenation; we are able to add integers and we know what the result should be, all done by us... vers: * operators like '+', '-', '*', '/', '%' and many others; * operators like '==', '<', '>', '<=', 'in' and many others; * indexing, slicing, subscripting;
2.4 Decorators @info:cursos:pue:python-pcpp1:m1
33 Resultats, Darrera modificació:
s. Python is able to decorate functions, methods, and classes. The decorator's operation is based on w... can take the parameters of the decorated function and perform additional actions and that make it a real decorating function. The same principle is applied... Decorators are used to perform operations before and after a call to a wrapped object or even to preve
1.1 SQLite @info:cursos:pue:python-pcpp1:m5
30 Resultats, Darrera modificació:
s, social applications such as Facebook, Twitter, and Instagram are very popular. Every day many people create new accounts, and existing users add or share different content. Yo... rmation about users, the contents of their posts, and comments. The data are all kinds of information t... account data, consisting of email address, login, and password, and when you add new posts you send con
1.1 Classes, Instances, Attributes, Methods — introduction @info:cursos:pue:python-pcpp1:m1
29 Resultats, Darrera modificació:
roblems in an efficient, comfortable, extendable, and well-structured manner. Imagine that the text yo... g was rendered in a web browser created with OOP, and even the mouse cursor image is displayed using an... (treat a spreadsheet as a collection of objects), and many, many other applications. This chapter assu... ct'; * object — Python's representation of data and methods; objects could be aggregates of instances
2.8 Composition vs Inheritance - two ways to the same destination @info:cursos:pue:python-pcpp1:m1
29 Resultats, Darrera modificació:
to the same destination So far we've been using and following the inheritance concept when modeling o... ight relation between two classes: the base class and the derived class, called a subclass. The result... is a subclass class that inherits **all** methods and **all** properties of the base class, and allows a subclass to extend everything that has been inherit
2.9 Inheriting properties from built-in classes @info:cursos:pue:python-pcpp1:m1
29 Resultats, Darrera modificació:
alities inherited from its parent or even parents and you can still access those attributes and methods. Later, you can override the methods by delivering ... s will be based on the Python list implementation and will also validate the type of elements that are ... pecific type (integers in the ticketing example), and control over the types of elements is given to th
3.1 Advanced techniques of creating and serving exceptions @info:cursos:pue:python-pcpp1:m1
27 Resultats, Darrera modificació:
= 3.1 Advanced techniques of creating and serving exceptions In this module, we'll talk about Python ex... short introduction When Python executes a script and encounters a situation that it cannot cope with, ... eption expects somebody or something to notice it and take care of it; * if nothing happens to take c... ion, the program will be **forcibly terminated**, and you will see an error message sent to the console
1.2 How to use sockets in Python @info:cursos:pue:python-pcpp1:m4
27 Resultats, Darrera modificació:
2.5 Different faces of Python methods @info:cursos:pue:python-pcpp1:m1
25 Resultats, Darrera modificació:
1.1 What is PEP? @info:cursos:pue:python-pcpp1:m2
25 Resultats, Darrera modificació:
1.6 Events and how to handle them @info:cursos:pue:python-pcpp1:m3
25 Resultats, Darrera modificació:
2.6 Abstract classes @info:cursos:pue:python-pcpp1:m1
23 Resultats, Darrera modificació:
4.1 Shallow and deep copy operations @info:cursos:pue:python-pcpp1:m1
23 Resultats, Darrera modificació:
5.1 Metaprogramming @info:cursos:pue:python-pcpp1:m1
21 Resultats, Darrera modificació:
1.4 Talking to JSON in Python @info:cursos:pue:python-pcpp1:m4
21 Resultats, Darrera modificació:
1.3 JSON – our new friend @info:cursos:pue:python-pcpp1:m4
20 Resultats, Darrera modificació:
2.1 File processing - XML files @info:cursos:pue:python-pcpp1:m5
20 Resultats, Darrera modificació:
2.3 Extended function argument syntax @info:cursos:pue:python-pcpp1:m1
19 Resultats, Darrera modificació:
1.7 Visiting widgets’ properties @info:cursos:pue:python-pcpp1:m3
19 Resultats, Darrera modificació:
1.2 Let TkInter speak! @info:cursos:pue:python-pcpp1:m3
18 Resultats, Darrera modificació:
1.5 A simple GUI application @info:cursos:pue:python-pcpp1:m3
17 Resultats, Darrera modificació:
2.7 Encapsulation @info:cursos:pue:python-pcpp1:m1
16 Resultats, Darrera modificació:
2.5 Working with the Canvas @info:cursos:pue:python-pcpp1:m3
15 Resultats, Darrera modificació:
3.1 The CSV module in Python @info:cursos:pue:python-pcpp1:m5
15 Resultats, Darrera modificació:
5.1 The configparser module @info:cursos:pue:python-pcpp1:m5
15 Resultats, Darrera modificació:
1.8 Interacting with widget methods @info:cursos:pue:python-pcpp1:m3
14 Resultats, Darrera modificació:
4.1 Logging in Python @info:cursos:pue:python-pcpp1:m5
14 Resultats, Darrera modificació:
1.4 Coloring your widgets @info:cursos:pue:python-pcpp1:m3
12 Resultats, Darrera modificació:
1.9 Looking at variables @info:cursos:pue:python-pcpp1:m3
7 Resultats, Darrera modificació: