Cerca

Heus ací els resultats de la cerca.

1.1 SQLite @info:cursos:pue:python-pcpp1:m5
20 Resultats, Darrera modificació:
ntents of their posts, and comments. The data are all kinds of information that we can send to the appl... n the world. SQLite is actually a C library which allows the user to read and write data directly to a ... t's more, it doesn't require any configuration at all, because it's a self-contained library enclosed i... opportunity to learn about a new module that will allow you to create amazing applications using SQLite
Python Professional Course Series: GUI Programming @info:cursos:pue:python-pcpp1:m3
19 Resultats, Darrera modificació:
, that’s enough jokes about TLA’s for one course, all the more that GUI is present nearly everywhere. L... ven, even washing machine or heating controller – all these things have a screen, most of them colored ... home) with thousands of colored lights, blinking all the time, and hundreds of switches (also colored)... The user's answer was given by pressing a set of allowed keys. Simple? Simple. From our present-day de
1.6 Making life easier with the requests module @info:cursos:pue:python-pcpp1:m4
16 Resultats, Darrera modificació:
a **server serving** a web **service** (sorry for all these serv..., we weren't able to avoid them) and... to look inside it. Okay. Let's start. First of all, we need to have Node.js installed on our compute... om the LTS //(Long Time Support//) branch; accept all the default settings and let the installer do the... ocess looks the same as on Windows® - just accept all the default settings and let the installer do the
2.1 PEP 20 – The Zen of Python @info:cursos:pue:python-pcpp1:m2
15 Resultats, Darrera modificació:
"poem" seems to be imbued with contradictions and allusions, we assure you that the aphorisms are extre... ood idea to add more verbosity to your code as it all counts towards readability. Giving self-explanato... are too long, use whitespaces responsibly – this all affects the readability and understanding of your... not only read by computers, it’s also (or most of all) read by humans. In fact, it’s **the essence of t
4.1 PEP 257 – Docstring Conventions @info:cursos:pue:python-pcpp1:m2
14 Resultats, Darrera modificació:
uch programming and code writing habits that will allow the developers and other users to understand th... irrelevant or reduntant information; and most of all – try to design and write your code in such a way... ed with Python 3.5 and desecribed in PEP 484 that allows you to equip your code with additional informa... th type information. In a nutshell, type hinting allows you to **statically indicate** the //type// in
2.6 Abstract classes @info:cursos:pue:python-pcpp1:m1
13 Resultats, Darrera modificació:
ract methods**. * The programmer has to deliver all method definitions and the completeness would be ... reason is: we want our code to be polymorphic, so all subclasses have to deliver a set of their own met... loper has implemented a subclass that overrides __all__ abstract methods. When we’re designing large f... t to provide common implemented functionality for all implementations of the class, we could also use a
1.6 Events and how to handle them @info:cursos:pue:python-pcpp1:m3
13 Resultats, Darrera modificació:
he fuel which propel the application’s movements. All events come **to the event manager**, which is responsible for dispatching them to all the application components. This also means that ... oop() </code> Note – there are three widgets in all, but only one of them (the ''Button'') is clickab... some more or less helpful data. The data describe all the circumstances which are accompanied within th
2.3 Extended function argument syntax @info:cursos:pue:python-pcpp1:m1
12 Resultats, Darrera modificació:
es for some parameters, so we do not have to pass all arguments as missing arguments, complete with def... ents in any order if we are assigning keywords to all argument values, otherwise positional ones are th... nt(3) print(1, 20, 10) print('--', '++') </code> All presented invocations of the **print()** function... d function: * ** *args** – refers to a tuple of all additional, not explicitly expected positional ar
2.8 Composition vs Inheritance - two ways to the same destination @info:cursos:pue:python-pcpp1:m1
12 Resultats, Darrera modificació:
this relation 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 inherited. By... could be inherited in this “Vehicles” structure? All classes derived from Vehicles own properties and
2.1 File processing - XML files @info:cursos:pue:python-pcpp1:m5
12 Resultats, Darrera modificació:
document must have one root element that contains all other elements. In the example below, the main el... {'title': 'Hamlet'}</code> The root element and all its children are ''Element'' objects. In the exam... e tag name as a string **attrib** – this returns all attributes in the tag as a dictionary. To retriev... hod called ''iter''. The ''iter'' method returns all elements by having the tag passed as an argument.
1.1 Python Professional Course Series: RESTful APIs @info:cursos:pue:python-pcpp1:m4
11 Resultats, Darrera modificació:
e we going to convince you to take a rest? Not at all. On the contrary, we want to encourage you to sta... hink now. "How is it possible to send and receive all kinds of data using plain text?" It's a very goo... of **properties**. We can say that the values of all the object's properties constitute its state. If ... only the Internet) is able to act as a **carrier allowing you to transmit states' representations to a
1.5 What is XML and why do we prefer to use JSON? @info:cursos:pue:python-pcpp1:m4
11 Resultats, Darrera modificació:
re – it's a store with the most legendary cars of all time. Don't expect to be able to buy “just a car”... sion = "1.0" encoding = "utf-8"?></code> First of all, it **declares that the document contains XML tex... ways: * **the document content isn't defined at all** – we may say that this kind of document is **se... ser is not able to check if the document contains all the needed data and whether the data it contains
3.1 PEP 8 – Introduction @info:cursos:pue:python-pcpp1:m2
10 Resultats, Darrera modificació:
Mixing tabs and spaces for indentation is __not__ allowed** in Python 3. This will raise a TabError exc... g or because you want to improve readability) are allowed if using parentheses/brackets/braces: <code ... gth and Line Breaks If possible, you should limit all lines to a maximum of 79 characters as this will ... breaks and operators Even though in Python you’re allowed to break code lines before or after binary op
1.7 Four magic letters: CRUD @info:cursos:pue:python-pcpp1:m4
10 Resultats, Darrera modificació:
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 wor... -server'' – we'll try to get it to work hard with all four letters making up CRUD; * our initial data... d)**. We’ll try to convince the server to show us all the cars it offers. Note: ''json-server'' assume
2.9 Inheriting properties from built-in classes @info:cursos:pue:python-pcpp1:m1
9 Resultats, Darrera modificació:
lt, your newly-created class has the advantage of all of the well-known functionalities inherited from ... s to the object. What have we not delivered? * All the remaining methods have remained unchanged, so... ent if you wish; note: you have to teach the code all the lengths used in Europe) * (step 2) Move the... itial characters to the number's end, and convert all letters to upper case (step 02 of the algorithm)
1.3 JSON – our new friend @info:cursos:pue:python-pcpp1:m4
9 Resultats, Darrera modificació:
2.5 Different faces of Python methods @info:cursos:pue:python-pcpp1:m1
8 Resultats, Darrera modificació:
1.4 Coloring your widgets @info:cursos:pue:python-pcpp1:m3
8 Resultats, Darrera modificació:
4.1 Logging in Python @info:cursos:pue:python-pcpp1:m5
8 Resultats, Darrera modificació:
2.4 Decorators @info:cursos:pue:python-pcpp1:m1
7 Resultats, Darrera modificació:
1.2 Let TkInter speak! @info:cursos:pue:python-pcpp1:m3
7 Resultats, Darrera modificació:
5.1 Metaprogramming @info:cursos:pue:python-pcpp1:m1
6 Resultats, Darrera modificació:
1.2 How to use sockets in Python @info:cursos:pue:python-pcpp1:m4
6 Resultats, Darrera modificació:
1.4 Talking to JSON in Python @info:cursos:pue:python-pcpp1:m4
6 Resultats, Darrera modificació:
5.1 The configparser module @info:cursos:pue:python-pcpp1:m5
6 Resultats, Darrera modificació:
2.1 Python core syntax @info:cursos:pue:python-pcpp1:m1
5 Resultats, Darrera modificació:
2.7 Encapsulation @info:cursos:pue:python-pcpp1:m1
5 Resultats, Darrera modificació:
1.7 Visiting widgets’ properties @info:cursos:pue:python-pcpp1:m3
4 Resultats, Darrera modificació:
3.1 The CSV module in Python @info:cursos:pue:python-pcpp1:m5
4 Resultats, Darrera modificació:
1.8 Interacting with widget methods @info:cursos:pue:python-pcpp1:m3
3 Resultats, Darrera modificació:
4.1 Shallow and deep copy operations @info:cursos:pue:python-pcpp1:m1
2 Resultats, Darrera modificació:
1.1 What is PEP? @info:cursos:pue:python-pcpp1:m2
2 Resultats, Darrera modificació:
2.5 Working with the Canvas @info:cursos:pue:python-pcpp1:m3
2 Resultats, Darrera modificació:
1.5 A simple GUI application @info:cursos:pue:python-pcpp1:m3
1 Resultats, Darrera modificació: