Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- 1.6 Making life easier with the requests module
- 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
- 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
- 1.5 What is XML and why do we prefer to use JSON?
- 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
- 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
- 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... use you) starting with \ in JSON. We’ve collected all of them here: {{ :info:cursos:pue:python-pcpp1:m4... ull'' in JSON: <code ruby> null </code> In JSON, all the above values may be combined (or packed) in t
- 1.4 Talking to JSON in Python
- 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
- 1.2 How to use sockets in Python
- 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... us. The transmission may cause some errors, too. All these fatalities will raise exceptions. What nex