no

Cerca

Heus ací els resultats de la cerca.

1.7 Four magic letters: CRUD @info:cursos:pue:python-pcpp1:m4
63 Resultats, Darrera modificació:
= 1.7 Four magic letters: CRUD == Entering a non-existing/malformed address We’ve reached the point in... se pieces into one functional block. You already know how HTTP works, how it’ is mounted on top of the... different programs written in very different technologies can utilize shared data through one, **univ... of operations – they are elementary, but complex enough to build complex services. A set of four opera
3.1 PEP 8 – Introduction @info:cursos:pue:python-pcpp1:m2
61 Resultats, Darrera modificació:
iefs and practices. In our case, it means we must not forget about one simple but important observatio... times be a better option. If the style guides are not applicable to your project, it may be better to ignore them and decide for yourself what is best. As P... r function is the most important. [...] However, know when to be inconsistent [...]. When in doubt, us
3.1 Advanced techniques of creating and serving exceptions @info:cursos:pue:python-pcpp1:m1
58 Resultats, Darrera modificació:
ring the execution of a program that disrupts the normal flow of the program's instructions. Plan for... es a script and encounters a situation that it cannot cope with, it: * stops your program; * crea... or that an exception has been raised) when it has no idea what do to with your code. What happens nex... raised exception expects somebody or something to notice it and take care of it; * if nothing happen
1.2 How to use sockets in Python @info:cursos:pue:python-pcpp1:m4
58 Resultats, Darrera modificació:
d a request to the server** (the server wants to know what we want from it) - **receive the server's... server** we're going to connect to. In fact, it's not our problem. The user knows it better. Let's ask him or her: <code python> import socket server_add... e IP address** - the server you will reach may be not the server you intended to connect to. It may so
2.1 PEP 20 – The Zen of Python @info:cursos:pue:python-pcpp1:m2
55 Resultats, Darrera modificació:
or features) included in the Python interpreter. Now let’s see the magic. Go to the editor window, ty... we must remember that a nicely-written program is not only more enjoyable to read, but also more **rea... s a better way to implement the functionality. If not, think about leaving a comment in code to explai... tand your code. In Python, it’s preferred to use not only the simplest way to express a programming i
4.1 PEP 257 – Docstring Conventions @info:cursos:pue:python-pcpp1:m2
54 Resultats, Darrera modificació:
e **conventions**, best practices, and semantics (not laws or regulations!) associated with documentin... in Python: ^Comments ^Docstrings^ | Comments are non-executable statements in Python, which means that they are ignored by the Python interpreter; they are not stored in the memory, and cannot be accessed during progra
1.6 Making life easier with the requests module @info:cursos:pue:python-pcpp1:m4
50 Resultats, Darrera modificació:
we can start the final stage of our journey – we know enough to communicate with the web service using JSON as an information carrier. Unfortunately, our knowledge needs to be supplemented – we need a **serv... amed ''json-server'', implemented on top of the ''Node.js'' environment. ''Node.js'' is – as Wikipedia
Python Professional Course Series: GUI Programming @info:cursos:pue:python-pcpp1:m3
49 Resultats, Darrera modificació:
three-letter acronym, a representative of a well-known class of acronyms which plays a very important role in the IT industry. Okay, that’s enough jokes about TLA’s for one course, all the more... worry, it won’t take long. We’re going to travel not more than fifty years back. Are you ready? Okay,... to a computer (don’t forget that the Internet had not been invented yet) and was rarely placed in the
1.1 SQLite @info:cursos:pue:python-pcpp1:m5
49 Resultats, Darrera modificació:
= 1.1 SQLite == What is a database? Nowadays, social applications such as Facebook, Twitter, and Insta... ers add or share different content. You’ve surely noticed that the data sent to those applications are... vailable after a few days, or even years. Do you know how that’s possible? Data is simply information... ite databases. Can you guess what it’s called? If not, don't worry, everything will be clear in a mome
2.3 A small lexicon of widgets - Part 3 @info:cursos:pue:python-pcpp1:m3
43 Resultats, Darrera modificació:
t of cooperating widgets**. The ''Entry'' widget not only presents a line of text, but is also able t... python-pcpp1:m3:pasted:20231228-112558.png}} And now, some of ''Entry''’s methods: {{:info:cursos:pue... its** – all other characters will be silently **ignored**. The tracer is invoked each time the input ... this state if its current contents are invalid. Note: we’ve had to use the ''focus_set()'' method, a
1.3 JSON – our new friend @info:cursos:pue:python-pcpp1:m4
39 Resultats, Darrera modificació:
a continuous struggle with acronyms? Well, you’re not alone. We share this opinion. An old anecdote says that computer technology development is in fact based on TLA. What is ... – look! – TLA is a TLA too. What a coincidence! Now it’s time to break this pattern. The acronym we'll present to you now is four letters long. What a nice change! Let u
1.6 Events and how to handle them @info:cursos:pue:python-pcpp1:m3
37 Resultats, Darrera modificació:
to handle them == Event handling As you already know, events are the fuel which propel the applicatio... ring the proper reactions to the user’s actions. Now it’s time to show you some details of the events... ow you control the event manager’s behavior. For now, however, we want you to focus your attention on... re going to display a whole encyclopedia volume); note: you can use the ''\n'' digraph to visually bre
1.5 What is XML and why do we prefer to use JSON? @info:cursos:pue:python-pcpp1:m4
37 Resultats, Darrera modificació:
e**. Anyway, this is what it thinks about itself. Note – it isn't a programming language, and although... XML seems to be bloated compared to JSON. We’re not going to teach you how to use XML in Python. We ... d by a very exclusive second-hand car store. It's not a regular store – it's a store with the most leg... **declares that the document contains XML text**. Note the very original “parentheses” in which the li
1.4 Talking to JSON in Python @info:cursos:pue:python-pcpp1:m4
36 Resultats, Darrera modificació:
Python == Working with the JSON module in Python Now that we're familiar with JSON essentials, it's t... break down complex JSON lines into prime factors. Nothing could be further from the truth! We’re not in the habit of coming up with such crazy ideas, although, to be honest, it's not as complex as it may seem and we're convinced th
1.2 Let TkInter speak! @info:cursos:pue:python-pcpp1:m3
35 Resultats, Darrera modificació:
Inter speak! == Importing TkInter As you already know, from Python's point of view TkInter is a packag... as a whole: <code python>import tkinter</code> Note: it won’t allow you to access some modules buil... ll have to import them separately. As you already now, such an import will force you to use the qualif... de python>import tkinter as tk</code> Okay, we know there’s no accounting for taste, but it’s defini
2.7 Encapsulation @info:cursos:pue:python-pcpp1:m1
32 Resultats, Darrera modificació:
5.1 Metaprogramming @info:cursos:pue:python-pcpp1:m1
27 Resultats, Darrera modificació:
2.4 Decorators @info:cursos:pue:python-pcpp1:m1
26 Resultats, Darrera modificació:
1.5 A simple GUI application @info:cursos:pue:python-pcpp1:m3
24 Resultats, Darrera modificació:
2.6 Abstract classes @info:cursos:pue:python-pcpp1:m1
21 Resultats, Darrera modificació:
4.1 Logging in Python @info:cursos:pue:python-pcpp1:m5
21 Resultats, Darrera modificació:
2.5 Different faces of Python methods @info:cursos:pue:python-pcpp1:m1
18 Resultats, Darrera modificació:
2.1 File processing - XML files @info:cursos:pue:python-pcpp1:m5
17 Resultats, Darrera modificació:
1.7 Visiting widgets’ properties @info:cursos:pue:python-pcpp1:m3
16 Resultats, Darrera modificació:
2.3 Extended function argument syntax @info:cursos:pue:python-pcpp1:m1
15 Resultats, Darrera modificació:
4.1 Shallow and deep copy operations @info:cursos:pue:python-pcpp1:m1
15 Resultats, Darrera modificació:
1.8 Interacting with widget methods @info:cursos:pue:python-pcpp1:m3
15 Resultats, Darrera modificació:
2.1 Python core syntax @info:cursos:pue:python-pcpp1:m1
12 Resultats, Darrera modificació:
3.1 The CSV module in Python @info:cursos:pue:python-pcpp1:m5
12 Resultats, Darrera modificació:
1.4 Coloring your widgets @info:cursos:pue:python-pcpp1:m3
10 Resultats, Darrera modificació:
5.1 The configparser module @info:cursos:pue:python-pcpp1:m5
10 Resultats, Darrera modificació:
1.9 Looking at variables @info:cursos:pue:python-pcpp1:m3
6 Resultats, Darrera modificació:
1.1 What is PEP? @info:cursos:pue:python-pcpp1:m2
4 Resultats, Darrera modificació:
2.5 Working with the Canvas @info:cursos:pue:python-pcpp1:m3
1 Resultats, Darrera modificació: