to

Cerca

Heus ací els resultats de la cerca.

2.1 PEP 20 – The Zen of Python @info:cursos:pue:python-pcpp1:m2
138 Resultats, Darrera modificació:
esign. Tim Peters, a long time major contributor to the Python programming language and Python commun... Python interpreter. Now let’s see the magic. Go to the editor window, type in ''import this'', run t... and decision making. Even though the "poem" seems to be imbued with contradictions and allusions, we a... practical and common sense, and you’re encouraged to accept them and implement in your code. These, o
1.2 How to use sockets in Python @info:cursos:pue:python-pcpp1:m4
133 Resultats, Darrera modificació:
= 1.2 How to use sockets in Python == How to fetch a document from a server using Python We are going to write our first program making use of network soc... r this purpose. Here are our goals: * we want to write **a program which reads the address of a WW
3.1 PEP 8 – Introduction @info:cursos:pue:python-pcpp1:m2
94 Resultats, Darrera modificació:
every professional Python programmer, as it helps to make the code more consistent, more readable, and... till highly recommended reading, as they help you to better understand the philosophy behind Python an... essay “Self-Reliance” where Emerson urges readers to be consistent in their beliefs and practices. In ... er option. If the style guides are not applicable to your project, it may be better to ignore them and
4.1 PEP 257 – Docstring Conventions @info:cursos:pue:python-pcpp1:m2
94 Resultats, Darrera modificació:
Python Developer's Guide, which makes an attempt to standardize the high-level structure of docstring... Python code using docstrings. In short, it tries to answer the following two questions: - What sho... module, function, and method definition in order to provide information about the functionality of a ... ive** way. They help programmers (including you) to remember and understand the purpose, operation, a
1.6 Making life easier with the requests module @info:cursos:pue:python-pcpp1:m4
91 Resultats, Darrera modificació:
t the final stage of our journey – we know enough to communicate with the web service using JSON as an... ation carrier. Unfortunately, our knowledge needs to be supplemented – we need a **server serving** a ... e** (sorry for all these serv..., we weren't able to avoid them) and we also need a tool simpler than the ''socket'' module to talk with the **service** (we beg your pardon).
1.7 Four magic letters: CRUD @info:cursos:pue:python-pcpp1:m4
91 Resultats, Darrera modificació:
ess We’ve reached the point in which we are ready to gather all new facts and tools and glue all these... of the TCP stack and how the HTTP server is able to do much more for us than just store and publish f... an be a very **effective and convenient gateway** to very complicated and heavy databases or other ser... f cooperating servers; but the interface provided to the user (you) will always look the same. We can
1.1 SQLite @info:cursos:pue:python-pcpp1:m5
90 Resultats, Darrera modificació:
content. You’ve surely noticed that the data sent to those applications are still available after a fe... ata are all kinds of information that we can send to the application. During registration, you send th... d new posts you send content that will be visible to other users. Sent data should be saved in some pl... ion stored on a disk in a computer system. Access to the database is possible thanks to a database man
2.7 Encapsulation @info:cursos:pue:python-pcpp1:m1
81 Resultats, Darrera modificació:
attributes within a class. Encapsulation is used to hide the **attributes** inside a class like in a ... *, preventing unauthorized parties' direct access to them. Publicly accessible **methods** are provided in the class **to access** the values, and other objects call those methods to retrieve and modify the values within the object.
2.4 Decorators @info:cursos:pue:python-pcpp1:m1
69 Resultats, Darrera modificació:
the structure of related objects. Python is able to decorate functions, methods, and classes. The de... (i.e., the **decorated** function) as a parameter to the decorating function so that the **decorating*... ss or a decorating function. Decorators are used to perform operations before and after a call to a wrapped object or even to prevent its execution, depe
Python Professional Course Series: GUI Programming @info:cursos:pue:python-pcpp1:m3
69 Resultats, Darrera modificació:
olored and many (more and more every year) use it to display a GUI and to communicate with the user. They communicate bidirectionally. GUI stands for Gra... rface. In this three-word acronym, the User seems to be the most obvious part. The word Interface need... t, it is clear too – it’s a tool used by the user to command a device and to receive its responses. B
1.1 Python Professional Course Series: RESTful APIs @info:cursos:pue:python-pcpp1:m4
66 Resultats, Darrera modificació:
w may look a little enigmatic: REST Are we going to convince you to take a rest? Not at all. On the contrary, we want to encourage you to start the next part of our adventure - very demanding and completely new. We'll show
1.6 Events and how to handle them @info:cursos:pue:python-pcpp1:m3
62 Resultats, Darrera modificació:
= 1.6 Events and how to handle them == Event handling As you already know, events are the fuel which p... el 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 t... ou responsible for preparing the proper reactions to the user’s actions. Now it’s time to show you so
2.1 Python core syntax @info:cursos:pue:python-pcpp1:m1
59 Resultats, Darrera modificació:
e been using Python core operations that allow us to operate on strings, lists, integers, and floats. It’s natural for us to formulate expressions using algebraic symbols representing operators, or to get a number of elements in a sequence or dictionary. We are able to add two or more strings together, which results i
3.1 Advanced techniques of creating and serving exceptions @info:cursos:pue:python-pcpp1:m1
57 Resultats, Darrera modificació:
ns. Plan for the module: * short introduction to exceptions; * review of the named attributes of exception objects; * introduction to chained exceptions; * analysis of the traceback... tion has been raised) when it has no idea what do to with your code. What happens next? * the raised exception expects somebody or something to notice it and take care of it; * if nothing hap
1.2 Let TkInter speak! @info:cursos:pue:python-pcpp1:m3
57 Resultats, Darrera modificació:
ns, constants, classes, objects, and modules used to build GUI applications. The GUI application itse... window; * adding a set of necessary **widgets** to the window; * **launching** the event controller. That’s all. Really. Looks too good to be true? Let us show how it works. We’ll do it st... trollable) way of importing tkinter facilities is to import the package as a whole: <code python>impo
2.1 File processing - XML files @info:cursos:pue:python-pcpp1:m5
56 Resultats, Darrera modificació:
1.3 JSON – our new friend @info:cursos:pue:python-pcpp1:m4
55 Resultats, Darrera modificació:
4.1 Logging in Python @info:cursos:pue:python-pcpp1:m5
52 Resultats, Darrera modificació:
4.1 Shallow and deep copy operations @info:cursos:pue:python-pcpp1:m1
51 Resultats, Darrera modificació:
5.1 Metaprogramming @info:cursos:pue:python-pcpp1:m1
48 Resultats, Darrera modificació:
1.4 Talking to JSON in Python @info:cursos:pue:python-pcpp1:m4
47 Resultats, Darrera modificació:
2.5 Different faces of Python methods @info:cursos:pue:python-pcpp1:m1
46 Resultats, Darrera modificació:
2.6 Abstract classes @info:cursos:pue:python-pcpp1:m1
44 Resultats, Darrera modificació:
1.5 A simple GUI application @info:cursos:pue:python-pcpp1:m3
43 Resultats, Darrera modificació:
5.1 The configparser module @info:cursos:pue:python-pcpp1:m5
37 Resultats, Darrera modificació:
1.7 Visiting widgets’ properties @info:cursos:pue:python-pcpp1:m3
34 Resultats, Darrera modificació:
3.1 The CSV module in Python @info:cursos:pue:python-pcpp1:m5
34 Resultats, Darrera modificació:
1.9 Looking at variables @info:cursos:pue:python-pcpp1:m3
31 Resultats, Darrera modificació:
1.8 Interacting with widget methods @info:cursos:pue:python-pcpp1:m3
28 Resultats, Darrera modificació:
1.4 Coloring your widgets @info:cursos:pue:python-pcpp1:m3
26 Resultats, Darrera modificació:
2.5 Working with the Canvas @info:cursos:pue:python-pcpp1:m3
23 Resultats, Darrera modificació:
2.3 Extended function argument syntax @info:cursos:pue:python-pcpp1:m1
20 Resultats, Darrera modificació:
1.1 What is PEP? @info:cursos:pue:python-pcpp1:m2
16 Resultats, Darrera modificació: