Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- 1.3 JSON – our new friend
- you want me to learn Java? Or even JavaScript?” No, we don't. Fortunately, the notation we want to t... * it uses **UTF-8 coded text** – this means that no machine/platform-dependent formats are used; it a... ** to those of Python. In general, you may expect no surprises when you use regular decimal integers, ... n in Python as None – it may be used to represent no value, or a value without any meaning. It is cal
- 1.2 How to use sockets in Python
- will be referenced by a variable named ''sock''. No, it's not about the clothes. Really. == Connecti... why 80? Can I put something else instead of this? No, you can’t. 80 is a well-known service number for... hispered directly into the server's ear: "We have no more to say to you. We don't want to hear from yo... has entered a non-existent or malformed address (no matter whether it’s expressed as a domain name or
- 1.6 Making life easier with the requests module
- from the data stream, hence it is just a string. No conversions are applied. The code produces the f... d server are aware of the fact that the contents (no matter which part sent them) contain a JSON messa... precisely specify its demands; if the client has no demands and initiates ''GET'' without resource id... l know the way. * ''DELETE'' – this name leaves no doubt: it is used to order the server to remove a
- 1.7 Four magic letters: CRUD
- ask for one. * Lines 44 through 45: if there is no item of the requested ''id'', the server will set... he URI does the trick, but remember that there is no common standard covering such additional function... ou can see, the deletion was successful (there is no car with ''id'' 1 in the list), the server respon
- 1.5 What is XML and why do we prefer to use JSON?
- <code xml><empty></empty></code> (note: there is no content between the tags!) you may want to use th... sample code clearer – here they go: * line 1: no comment needed; * line 3: parse the file and fe
- 1.1 Python Professional Course Series: RESTful APIs
- *affect the object's state through the network**. No, you are not able to invoke any of its methods. S
- 1.4 Talking to JSON in Python
- string describes a JSON object. Sorry, there are no exceptions to this rule. As previously, a purer