Cerca

Heus ací els resultats de la cerca.

1.7 Four magic letters: CRUD
31 Resultats, Darrera modificació:
= 1.7 Four magic letters: CRUD == Entering a non-existing/malformed address We’ve reached the point in... e, **universal interface**. The interface itself enables the user to perform a basic set of operations – they are elementary, but complex enough to build complex services. A set of four oper... your blog post, resize a picture in the gallery, enter the current customer’s sales information, etc.
1.6 Making life easier with the requests module
19 Resultats, Darrera modificació:
an start the final stage of our journey – we know enough to communicate with the web service using JSO... is is why we used it before when we wanted you to enter the world of network communications, but at th... n-server'', implemented on top of the ''Node.js'' environment. ''Node.js'' is – as Wikipedia claims – ... n open-source, cross-platform JavaScript run-time environment that executes JavaScript code outside of
1.5 What is XML and why do we prefer to use JSON?
15 Resultats, Darrera modificació:
applications (the newer one with file extensions ending with x like docx) utilizes XML to create such... ple XML document: <code xml><?xml version = "1.0" encoding = "utf-8"?> <!-- cars.xml - List of cars re... y important role: <code xml><?xml version = "1.0" encoding = "utf-8"?></code> First of all, it **decla... very original “parentheses” in which the line is enclosed: <? and ?> . As you can see, XML uses **pl
1.4 Talking to JSON in Python
13 Resultats, Darrera modificació:
ction named ''dumps()''. Note: the ''’s'' at the end of the function's name means string. There is a ... self.name = name self.age = age def encode_who(w): if isinstance(w, Who): re... John Doe', 42) print(json.dumps(some_man, default=encode_who)) </code> The second approach is based o... n Doe", "age": 42} </code> It seems that we know enough about how to travel from Python land to JSON
1.1 Python Professional Course Series: RESTful APIs
10 Resultats, Darrera modificació:
out REST The word you see below may look a little enigmatic: REST Are we going to convince you to tak... e a rest? Not at all. On the contrary, we want to encourage you to start the next part of our adventur... the properties changes its value, this inevitably entails the effect of changing the whole object's st... t it will work here) that transferring the states enables you to achieve results similar to those caus
1.2 How to use sockets in Python
10 Resultats, Darrera modificació:
t document of the site) - **close the socket** (end the connection) This is our road map. Let's foll... lass named ''socket'' (what a coincidence!) which encapsulates a bundle of properties and activities r... TP protocol version (i.e., ''HTTP/1.1'') and must end with the characters **\r\n**; note: all lines must end the same way; * a line containing the name of
1.3 JSON – our new friend
9 Resultats, Darrera modificació:
tell you about, although created with JavaScript environments in mind, works perfectly without JavaSc... t can be used by virtually all modern programming environments thanks to the standardized libraries of... a very simple example. We want to build a message encapsulating an object containing just one property... ions/files/ECMA-ST/ECMA-404.pdf]] If you want to encode an integer value (e.g., 123) you will specify
2.1 Python Professional Course Series: Lab & Assessment
6 Resultats, Darrera modificació:
Lab & Assessment **Well done, you've reached the end of the course!** In this section, it's time to ... availability checker; * a Vehicle data decoder/encoder; * a Stock Exchange viewer; * a Vintage ... ull response header but without any content; it's enough to check if the server is working properly; t... deducted from the above dialog — call it "reverse engineering" if you want) - defines a class able t