Cerca
Heus ací els resultats de la cerca.
Resultats de text complet:
- 1.2 How to use sockets in Python
- ckets in Python == How to fetch a document from a server using Python We are going to write our first ... * the program **uses TCP to connect to the HTTP server**. Our program has to perform the following ... ased on TCP; - **connect the socket to the HTTP server** of a given address; - **send a request to the server** (the server wants to know what we want
- 1.7 Four magic letters: CRUD
- mounted on top of the TCP stack and how the HTTP server is able to do much more for us than just stor... nd funny videos. In fact, a properly trained web server can be a very **effective and convenient gate... to very complicated and heavy databases or other services designed for storing and processing informa... . Moreover, the structure of the database (or the service) may vary, e.g., it may be a simple relation
- 1.6 Making life easier with the requests module
- rney – we know enough to communicate with the web service using JSON as an information carrier. Unfort... knowledge needs to be supplemented – we need a **server serving** a web **service** (sorry for all these serv..., we weren't able to avoid them) and we also nee
- 1.4 Talking to JSON in Python
- ough, to be honest, it's not as complex as it may seem and we're convinced that you’d be able to cope ... Monty Python's Flying Circus" </code> As you can see, all JSON requirements have been met. Now’s a g... ]] print(json.dumps(my_list)) </code> As you can see, there are actually two lists. Is that a problem... on", 'pi': 3.141592653589, 'data': (1, 2, 4, 8), 'set': None} print(json.dumps(my_dict)) </code> And
- 1.1 Python Professional Course Series: RESTful APIs
- = 1.1 Python Professional Course Series: RESTful APIs == Some words about REST The word you see below may look a little enigmatic: REST Are we ... * **S**tate * **T**ransfer Let's look at them separately. === Representational **RE** stands for... joke," you may think now. "How is it possible to send and receive all kinds of data using plain text?
- 1.5 What is XML and why do we prefer to use JSON?
- avier and less flexible. We can even say that XML seems to be bloated compared to JSON. We’re not goi... = "utf-8"?> <!-- cars.xml - List of cars ready to sell --> <!DOCTYPE cars_for_sale SYSTEM "cars.dtd"> ... a part of an offer published by a very exclusive second-hand car store. It's not a regular store – it... expect to be able to buy “just a car” here. They sell special cars for special owner at special price
- 2.1 Python Professional Course Series: Lab & Assessment
- = 2.1 Python Professional Course Series: Lab & Assessment == Working with RESTful APIs: Lab & Assessme... you've reached the end of the course!** In this section, it's time to translate your Python skills a... ecifically, we'll ask you to create: * an HTTP server availability checker; * a Vehicle data deco... ave a chance to do the quiz and the final test to see how well you've mastered the material, and check
- 1.3 JSON – our new friend
- * ...Script * Object * Notation As you can see, there’s a little riddle inside the name. It may... e standardized libraries of functions and unified services. It doesn't matter what programming languag... ind of universal bridge able to move data between seemingly incompatible parties. JSON is the answer ... transfer data that is the content of an object or set of objects. The mechanism which solves it should