al

Cerca

Heus ací els resultats de la cerca.

1.6 Making life easier with the requests module
28 Resultats, Darrera modificació:
a **server serving** a web **service** (sorry for all these serv..., we weren't able to avoid them) and we also need a tool simpler than the ''socket'' module ... it,” you may ask here. “Doesn't the socket module already fit our needs?” It does, but it’s **too goo... to look inside it. Okay. Let's start. First of all, we need to have Node.js installed on our comput
1.7 Four magic letters: CRUD
21 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 works, how it’ is mounted on top o... but the interface provided to the user (you) will always look the same. We can say that that's what R
1.3 JSON – our new friend
17 Resultats, Darrera modificació:
ntinuous struggle with acronyms? Well, you’re not alone. We share this opinion. An old anecdote says t... tunately, the notation we want to tell you about, although created with JavaScript environments in min... JavaScript. In fact, it can be used by virtually all modern programming environments thanks to the st... o machine/platform-dependent formats are used; it also means that the data JSON carries is readable (p
1.5 What is XML and why do we prefer to use JSON?
17 Resultats, Darrera modificació:
self. Note – it isn't a programming language, and although it is possible to build a real programming ... are. It can be intriguing how different they are, although both the solutions were invented for nearly... 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 te
1.1 Python Professional Course Series: RESTful APIs
16 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 st... very curious way of representing its data - it's always **text**. Pure, plain text. "It must be a jo... hink now. "How is it possible to send and receive all kinds of data using plain text?" It's a very go... of **properties**. We can say that the values of all the object's properties constitute its state. If
1.2 How to use sockets in Python
15 Resultats, Darrera modificació:
mport socket </code> === Obtaining user input We also need **the name of the HTTP server** we're goin... r users choose. They know better. The customer is always right. === The socket module: 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 ar
1.4 Talking to JSON in Python
10 Resultats, Darrera modificació:
to laboriously build JSON messages, fretting over all these brackets, parentheses and colons, and to b... in the habit of coming up with such crazy ideas, although, to be honest, it's not as complex as it ma... 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
2.1 Python Professional Course Series: Lab & Assessment
6 Resultats, Darrera modificació:
ge viewer; * a Vintage Cars database. You will also have a chance to do the quiz and the final test... le, we just want to know if the server is dead or alive) * (optional) the server's port number (any ... st of the request remains the same as for GET. We also assume that: * the tool checks if it is invok... argv variable from the sys module; its length is always one more than the actual number of arguments,