Cerca

Heus ací els resultats de la cerca.

1.1 SQLite @info:cursos:pue:python-pcpp1:m5
21 Resultats, Darrera modificació:
ntents of their posts, and comments. The data are all kinds of information that we can send to the appl... t's more, it doesn't require any configuration at all, because it's a self-contained library enclosed i... you've never dealt with SQL before, don't worry. All examples including SQL will be explained in detai... T NULL ); </code> You’ll find more information on all types available in SQLite [[https://www.sqlite.or
2.4 Decorators @info:cursos:pue:python-pcpp1:m1
19 Resultats, Darrera modificació:
function so that the **decorating** function can call the passed function. The decorating function retu... re used to perform operations before and after a call to a wrapped object or even to prevent its execut... _decorator(function): print('We are about to call "{}"'.format(function.__name__)) return funct... esult should be: <code ; output> We are about to call "simple_hello" Hello from simple function! </code
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)... an define their own style and colors of virtually all the GUI elements. Some operating systems devote
1.6 Making life easier with the requests module @info:cursos:pue:python-pcpp1:m4
18 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 File processing - XML files @info:cursos:pue:python-pcpp1:m5
17 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.
2.6 Abstract classes @info:cursos:pue:python-pcpp1:m1
15 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 method implementations in order to call them by using common method names. Furthermore, ... loper has implemented a subclass that overrides __all__ abstract methods. When we’re designing large f
2.3 Extended function argument syntax @info:cursos:pue:python-pcpp1:m1
14 Resultats, Darrera modificació:
en we talk about function arguments, we should recall the following facts: * some functions can be i... 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
2.1 PEP 20 – The Zen of Python @info:cursos:pue:python-pcpp1:m2
13 Resultats, Darrera modificació:
ood idea to add more verbosity to your code as it all counts towards readability. Giving self-explanato... one line, don’t fit too much information into a small amount of code, don’t write lines of code that 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
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
1.5 What is XML and why do we prefer to use JSON? @info:cursos:pue:python-pcpp1:m4
13 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
1.1 Python Professional Course Series: RESTful APIs @info:cursos:pue:python-pcpp1:m4
12 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 ... f functions suitable for implementation in nearly all operating systems and available in all modern pro
2.8 Composition vs Inheritance - two ways to the same destination @info:cursos:pue:python-pcpp1:m1
11 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 ha... could be inherited in this “Vehicles” structure? All classes derived from Vehicles own properties and ... operty from the base class, then it is present in all subclasses. The same principle should apply to t
4.1 PEP 257 – Docstring Conventions @info:cursos:pue:python-pcpp1:m2
11 Resultats, Darrera modificació:
irrelevant or reduntant information; and most of all – try to design and write your code in such a way... str//, which of course is a string. What does it all mean for you, and how can you take advantage of type hinting in Python? * First of all, type hinting can help you **document your code**... ctively** and write a more beautiful and, most of all, **cleaner code**. When using type hints, you mor
1.3 JSON – our new friend @info:cursos:pue:python-pcpp1:m4
10 Resultats, Darrera modificació:
. Close your eyes, strain your mind and try to recall five acronyms commonly used in the IT world. We ... JavaScript. In fact, it can be used by virtually all modern programming environments thanks to the sta... simple and not very expanded **format** (we can call it syntax, or even grammar) to represent mutual d... f you want to transfer not only raw data but also all the names bound to it (like the way in which obje
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
3.1 PEP 8 – Introduction @info:cursos:pue:python-pcpp1:m2
8 Resultats, Darrera modificació:
1.2 How to use sockets in Python @info:cursos:pue:python-pcpp1:m4
8 Resultats, Darrera modificació:
1.4 Coloring your widgets @info:cursos:pue:python-pcpp1:m3
7 Resultats, Darrera modificació:
1.4 Talking to JSON in Python @info:cursos:pue:python-pcpp1:m4
7 Resultats, Darrera modificació:
4.1 Logging in Python @info:cursos:pue:python-pcpp1:m5
7 Resultats, Darrera modificació:
5.1 Metaprogramming @info:cursos:pue:python-pcpp1:m1
6 Resultats, Darrera modificació:
1.2 Let TkInter speak! @info:cursos:pue:python-pcpp1:m3
6 Resultats, Darrera modificació:
2.7 Encapsulation @info:cursos:pue:python-pcpp1:m1
4 Resultats, Darrera modificació:
1.1 What is PEP? @info:cursos:pue:python-pcpp1:m2
4 Resultats, Darrera modificació:
5.1 The configparser module @info:cursos:pue:python-pcpp1:m5
4 Resultats, Darrera modificació:
2.1 Python core syntax @info:cursos:pue:python-pcpp1:m1
3 Resultats, Darrera modificació:
1.5 A simple GUI application @info:cursos:pue:python-pcpp1:m3
3 Resultats, Darrera modificació:
1.7 Visiting widgets’ properties @info:cursos:pue:python-pcpp1:m3
3 Resultats, Darrera modificació:
1.8 Interacting with widget methods @info:cursos:pue:python-pcpp1:m3
3 Resultats, Darrera modificació:
3.1 The CSV module in Python @info:cursos:pue:python-pcpp1:m5
3 Resultats, Darrera modificació:
2.5 Different faces of Python methods @info:cursos:pue:python-pcpp1:m1
2 Resultats, Darrera modificació:
2.5 Working with the Canvas @info:cursos:pue:python-pcpp1:m3
2 Resultats, Darrera modificació:
4.1 Shallow and deep copy operations @info:cursos:pue:python-pcpp1:m1
1 Resultats, Darrera modificació: