Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- 1.3 JSON – our new friend
- puter technology development is in fact based on TLA. What is TLA? It's simple – it's a Three-Letter Acronym. Close your eyes, strain your mind and try to... ed in the IT world. We bet four of them will be TLA. And – look! – TLA is a TLA too. What a coincidence! Now it’s time to break this pattern. The acron
- 1.4 Talking to JSON in Python
- little worried you may think that we want you to laboriously build JSON messages, fretting over all t... function's name means string. There is a very similar function with the name deprived of this suffix w... The trap is here: <code python> import json class Who: def __init__(self, name, age): ... ting: <code ; output> TypeError: Object of type 'Class' is not JSON serializable </code> Yes, that's
- 1.2 How to use sockets in Python
- only to the extent that it is able to act as a relay for REST. If you want to get fully accustomed wi... er of our courses. The socket module provides a class named ''socket'' (what a coincidence!) which encapsulates a bundle of properties and activities related to the actual sockets' behaviour. This means that th
- 1.6 Making life easier with the requests module
- xposes lots of details which aren't necessary available at the higher levels of software design. The s... ver which will work only for us and successfully play the role of a RESTFul API foundation. We’ve dec... .js'' environment. ''Node.js'' is – as Wikipedia claims – //an open-source, cross-platform JavaScript run-time environment that executes JavaScript code o
- 1.5 What is XML and why do we prefer to use JSON?
- and why do we prefer to use JSON? **XML** is a **language**. Anyway, this is what it thinks about itself. Note – it isn't a programming language, and although it is possible to build a real programming language on top of XML, it wasn't (and still isn't) ... y exclusive second-hand car store. It's not a regular store – it's a store with the most legendary car
- 1.7 Four magic letters: CRUD
- the service) may vary, e.g., it may be a simple relational database residing in a single file, or on t... iments with JSON. We’ll use it as an intermediate language to communicate with the HTTP server, implem... stop the server (use Ctrl-C for this purpose), replace the file with its original version (you can alw... the directory where your cars.json is located and launch the server: <code bash>json-server --watch ca
- 1.1 Python Professional Course Series: RESTful APIs
- resenting its data - it's always **text**. Pure, plain text. "It must be a joke," you may think now. ... ible to send and receive all kinds of data using plain text?" It's a very good question. Probably the... ld be used for. We think that your knowledge of classes and objects can be very helpful here. We want... show you very soon. Let's now take a look at the last part of the acronym. === Transfer **T** stands
- 2.1 Python Professional Course Series: Lab & Assessment
- = 2.1 Python Professional Course Series: Lab & Assessment == Working with RESTful APIs: Lab & Assessment **Well done, you've reached the end of the course!** In this section, it's time to translate your Python skills and everything you've learne... we'll ask you to create: * an HTTP server availability checker; * a Vehicle data decoder/encoder