Cerca

Heus ací els resultats de la cerca.

1.6 Making life easier with the requests module
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
1.1 Python Professional Course Series: RESTful APIs
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?
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
1.7 Four magic letters: CRUD
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
1.3 JSON – our new friend
9 Resultats, Darrera modificació:
JavaScript. In fact, it can be used by virtually all modern programming environments thanks to the sta... f you want to transfer not only raw data but also all the names bound to it (like the way in which obje... trophes** to delimit the text. The only delimiter allowed is a quote, like here: <code ruby> "Python" <... use you) starting with \ in JSON. We’ve collected all of them here: {{ :info:cursos:pue:python-pcpp1:m4
1.2 How to use sockets in Python
6 Resultats, Darrera modificació:
creating a socket The ''socket'' module contains all the tools we need to deal with sockets. We aren't going to present all its capabilities - as we mentioned before, we are... and must end with the characters **\r\n**; note: all lines must end the same way; * a line containin... re is a root document ready to send to us, we are allowed to receive it. We'll do it now without hesita
1.4 Talking to JSON in Python
6 Resultats, Darrera modificació:
to laboriously build JSON messages, fretting over all these brackets, parentheses and colons, and to br... odule – named **JSON** – which is able to perform all those drudgeries for you. How do we start a new ... ity to automatically **convert Python data** (not all of it and not always) into a JSON string. If you ... Python's Flying Circus" </code> As you can see, all JSON requirements have been met. Now’s a good mo
2.1 Python Professional Course Series: Lab & Assessment
1 Resultats, Darrera modificació:
required" + "and not more than two are allowed:") print("- http server's address (requir