Cerca

Heus ací els resultats de la cerca.

4.1 PEP 257 – Docstring Conventions @info:cursos:pue:python-pcpp1:m2
135 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
112 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
94 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... mended reading, as they help you to better understand the philosophy behind Python and become a more aware and proficient programmer. PEP 8 is still evolvi
1.7 Four magic letters: CRUD @info:cursos:pue:python-pcpp1:m4
69 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.3 A small lexicon of widgets - Part 3 @info:cursos:pue:python-pcpp1:m3
68 Resultats, Darrera modificació:
nserting, removing, scrolling, selecting, copying and pasting, etc.. We’ll show you only the basic pos... its entire flexibility when we just want to enter and validate a line of text. Here are some of ''Entr... pue:python-pcpp1:m3:pasted:20231228-112558.png}} And now, some of ''Entry''’s methods: {{:info:cursos:... ts **previous** state (using the last_s variable) and restores the field to this state if its current c
1.5 What is XML and why do we prefer to use JSON? @info:cursos:pue:python-pcpp1:m4
66 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
1.6 Making life easier with the requests module @info:cursos:pue:python-pcpp1:m4
59 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... socket module is perfect when you want to understand network issues at the TCP level and to learn which challenges the OS faces when it tries to establish,
Python Professional Course Series: GUI Programming @info:cursos:pue:python-pcpp1:m3
53 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... s clear too – it’s a tool used by the user to command a device and to receive its responses. But what
2.2 Inheritance and polymorphism — Inheritance as a pillar of OOP @info:cursos:pue:python-pcpp1:m1
45 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.6 Events and how to handle them @info:cursos:pue:python-pcpp1:m3
43 Resultats, Darrera modificació:
= 1.6 Events and how to handle them == Event handling As you already know, events are the fuel which pr... ime to show you some details of the events’ lives and anatomy. We’ll also show you how the events are able to influence a widget’s state, and how you control the event manager’s behavior. Fo... od we’ll use to arrange communication between you and your application. Of course, you can use the reg
2.4 Decorators @info:cursos:pue:python-pcpp1:m1
38 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
2.5 Different faces of Python methods @info:cursos:pue:python-pcpp1:m1
38 Resultats, Darrera modificació:
performed operations on the instances (objects), and in particular the attributes of the instance, so ... , which is their hallmark. It’s worth emphasizing and remembering that ''self'' allows you to refer to ... copy of the instance variable ''%%__internal%%'', and the ''get_internal()'' method allows you to read ... of the parameter ''self'' was chosen arbitrarily and you can use a different word, but you must do it
2.1 Python core syntax @info:cursos:pue:python-pcpp1:m1
37 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.8 Composition vs Inheritance - two ways to the same destination @info:cursos:pue:python-pcpp1:m1
31 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.4 Shaping the main window and conversing with the user @info:cursos:pue:python-pcpp1:m3
31 Resultats, Darrera modificació:
= 2.4 Shaping the main window and conversing with the user The main window is a very specific construct... g **two** masters: **you** (supported by tkinter) and your **operating system**. This means than you ca... ation (''PhotoImage()'' is a part of ''tkinter'', and we’re going to tell you more about it soon) <cod... e python> width x height </code> where ''width'' and ''height'' are decimal numbers specifying both di
2.1 A small lexicon of widgets - Part 1 @info:cursos:pue:python-pcpp1:m3
29 Resultats, Darrera modificació:
1.1 SQLite @info:cursos:pue:python-pcpp1:m5
29 Resultats, Darrera modificació:
1.2 How to use sockets in Python @info:cursos:pue:python-pcpp1:m4
27 Resultats, Darrera modificació:
1.1 What is PEP? @info:cursos:pue:python-pcpp1:m2
25 Resultats, Darrera modificació:
4.1 Shallow and deep copy operations @info:cursos:pue:python-pcpp1:m1
24 Resultats, Darrera modificació:
2.5 Working with the Canvas @info:cursos:pue:python-pcpp1:m3
24 Resultats, Darrera modificació:
2.6 Abstract classes @info:cursos:pue:python-pcpp1:m1
23 Resultats, Darrera modificació:
5.1 Metaprogramming @info:cursos:pue:python-pcpp1:m1
23 Resultats, Darrera modificació:
1.7 Visiting widgets’ properties @info:cursos:pue:python-pcpp1:m3
23 Resultats, Darrera modificació:
1.4 Talking to JSON in Python @info:cursos:pue:python-pcpp1:m4
23 Resultats, Darrera modificació:
1.2 Let TkInter speak! @info:cursos:pue:python-pcpp1:m3
22 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.5 A simple GUI application @info:cursos:pue:python-pcpp1:m3
19 Resultats, Darrera modificació:
2.7 Encapsulation @info:cursos:pue:python-pcpp1:m1
17 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ó:
2.2 A small lexicon of widgets - Part 2 @info:cursos:pue:python-pcpp1:m3
10 Resultats, Darrera modificació:
1.9 Looking at variables @info:cursos:pue:python-pcpp1:m3
7 Resultats, Darrera modificació: