Cerca

Heus ací els resultats de la cerca.

1.1 SQLite @info:cursos:pue:python-pcpp1:m5
51 Resultats, Darrera modificació:
ntents of their posts, and comments. The data are all kinds of information that we can send to the appl... se management systems in the world. SQLite is actually a C library which allows the user to read and write data directly to a file. You're surprised? The c... t's more, it doesn't require any configuration at all, because it's a self-contained library enclosed i
1.6 Events and how to handle them @info:cursos:pue:python-pcpp1:m3
48 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 some of the events may launch some of your callbacks, which makes you responsible for preparing t... ume); note: you can use the ''\n'' digraph to visually break the info into separate lines. We’ll ask t
2.4 Decorators @info:cursos:pue:python-pcpp1:m1
47 Resultats, Darrera modificació:
function so that the **decorating** function can call the passed function. The decorating function returns a function that can be called later. Of course, the **decorating** function ... 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
Python Professional Course Series: GUI Programming @info:cursos:pue:python-pcpp1:m3
46 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 ... nicate with the user. They communicate bidirectionally. GUI stands for Graphical User Interface. In th... ed as a part of computers. A computer (sometimes called a **mainframe**) was a very big box (much, much
2.1 PEP 20 – The Zen of Python @info:cursos:pue:python-pcpp1:m2
38 Resultats, Darrera modificació:
"poem" seems to be imbued with contradictions and allusions, we assure you that the aphorisms are extre... These, of course, should be looked upon holistically, rather than individually, but, still, let’s try to meditate on each of them. == Beautiful is better... ature of the language, ask yourself whether you really need it. Maybe there’s a better way to implement
1.1 Python Professional Course Series: RESTful APIs @info:cursos:pue:python-pcpp1:m4
37 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... specific kind of machinery (do not take this literally) which drives lots of contemporary computer systems, especially those which work on the Internet; moreover, whic... cannot work without the Internet. REST isn't actually a word - it's an acronym. It comes from three wo
1.6 Making life easier with the requests module @info:cursos:pue:python-pcpp1:m4
33 Resultats, Darrera modificació:
a **server serving** a web **service** (sorry for all these serv..., we weren't able to avoid them) and... work issues at the TCP level and to learn which challenges the OS faces when it tries to establish, mai... to look inside it. Okay. Let's start. First of all, we need to have Node.js installed on our computer. The steps you should take depend on the OS you use
2.1 File processing - XML files @info:cursos:pue:python-pcpp1:m5
33 Resultats, Darrera modificació:
document must have one root element that contains all other elements. In the example below, the main el... Each of these elements is represented by a class called ''Element''. In addition to the parse method, we can use the method called ''fromstring'', which, as an argument, takes XM... {'title': 'Hamlet'}</code> The root element and all its children are ''Element'' objects. In the exam
3.1 PEP 8 – Introduction @info:cursos:pue:python-pcpp1:m2
31 Resultats, Darrera modificació:
over the conventions provided for by PEP 8, especially in the case of any conflicts, or backwards-compa... t PEP 8 style conventions. These tools can be installed and run locally, or accessed online. We want to show you just two of them, but we encourage you to e... ther on your own: * **pycodestyle** (formerly called pep8, but the name was changed to avoid confusi
4.1 PEP 257 – Docstring Conventions @info:cursos:pue:python-pcpp1:m2
29 Resultats, Darrera modificació:
erence between comments and docstrings, and eventually between commenting and documenting code? Look a... ommenting and documenting code important? Essentially, we must not forget this simple rule by Guido va... de is more often read than written**", which basically means that the code we write today will most lik... uch programming and code writing habits that will allow the developers and other users to understand th
2.5 Different faces of Python methods @info:cursos:pue:python-pcpp1:m1
28 Resultats, Darrera modificació:
ticular the attributes of the instance, so we’ve called them i**nstance methods**. The instance method... ter, take the ''self'' parameter, which is their hallmark. It’s worth emphasizing and remembering that ''self'' allows you to refer to the instance. Of course, it fo... __internal%%'', and the ''get_internal()'' method allows you to read the instance variable specific to
1.1 Classes, Instances, Attributes, Methods — introduction @info:cursos:pue:python-pcpp1:m1
26 Resultats, Darrera modificació:
present in most computer applications because it allows programmers to model entities representing real-life objects. Moreover, OOP allows programmers to model interactions between obje... lf of the class or object; some say that it’s a 'callable attribute'; * type — refers to the class th... Because an object is a very useful culmination of all the terms described above: * it is an independ
2.8 Composition vs Inheritance - two ways to the same destination @info:cursos:pue:python-pcpp1:m1
26 Resultats, Darrera modificació:
o classes: the base class and the derived class, called a subclass. The result of 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
1.7 Four magic letters: CRUD @info:cursos:pue:python-pcpp1:m4
24 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... – this is a four-letter acronym which makes it really special. Let's shed some light on it. == C mean... write a new blog post, add a new picture to the gallery, store a new client's data in a customer datab
2.6 Abstract classes @info:cursos:pue:python-pcpp1:m1
23 Resultats, Darrera modificació:
ut not defining them in detail. Such methods are called **abstract 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,
2.3 A small lexicon of widgets - Part 3 @info:cursos:pue:python-pcpp1:m3
23 Resultats, Darrera modificació:
5.1 Metaprogramming @info:cursos:pue:python-pcpp1:m1
22 Resultats, Darrera modificació:
1.2 How to use sockets in Python @info:cursos:pue:python-pcpp1:m4
21 Resultats, Darrera modificació:
4.1 Logging in Python @info:cursos:pue:python-pcpp1:m5
21 Resultats, Darrera modificació:
1.2 Let TkInter speak! @info:cursos:pue:python-pcpp1:m3
19 Resultats, Darrera modificació:
4.1 Shallow and deep copy operations @info:cursos:pue:python-pcpp1:m1
18 Resultats, Darrera modificació:
2.3 Extended function argument syntax @info:cursos:pue:python-pcpp1:m1
17 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
16 Resultats, Darrera modificació:
1.3 JSON – our new friend @info:cursos:pue:python-pcpp1:m4
14 Resultats, Darrera modificació:
1.4 Talking to JSON in Python @info:cursos:pue:python-pcpp1:m4
14 Resultats, Darrera modificació:
2.1 Python core syntax @info:cursos:pue:python-pcpp1:m1
12 Resultats, Darrera modificació:
1.4 Coloring your widgets @info:cursos:pue:python-pcpp1:m3
12 Resultats, Darrera modificació:
1.5 A simple GUI application @info:cursos:pue:python-pcpp1:m3
10 Resultats, Darrera modificació:
2.1 A small lexicon of widgets - Part 1 @info:cursos:pue:python-pcpp1:m3
9 Resultats, Darrera modificació:
5.1 The configparser module @info:cursos:pue:python-pcpp1:m5
9 Resultats, Darrera modificació:
2.2 A small lexicon of widgets - Part 2 @info:cursos:pue:python-pcpp1:m3
8 Resultats, Darrera modificació:
1.8 Interacting with widget methods @info:cursos:pue:python-pcpp1:m3
7 Resultats, Darrera modificació:
1.1 What is PEP? @info:cursos:pue:python-pcpp1:m2
6 Resultats, Darrera modificació:
1.7 Visiting widgets’ properties @info:cursos:pue:python-pcpp1:m3
6 Resultats, Darrera modificació:
1.9 Looking at variables @info:cursos:pue:python-pcpp1:m3
3 Resultats, Darrera modificació:
2.5 Working with the Canvas @info:cursos:pue:python-pcpp1:m3
3 Resultats, Darrera modificació: