PDF Preview:
| PDF Title : | Mastering Object-oriented Python |
|---|---|
| Total Page : | 634 Pages |
| Author: | Steven F. Lott |
| PDF Size : | 2.2 MB |
| Language : | English |
| Rights : | packtpub.com |
| PDF Link : | Available |
Summary
Here on this page, we have provided the latest download link for Mastering Object-oriented Python PDF. Please feel free to download it on your computer/mobile. For further reference, you can go to packtpub.com
Mastering Object-oriented Python – Book
Once that bit of housekeeping is out of the way, the remaining processing is performed to develop a new spin from the wheel, resolve the various bets, and produce a response that includes the spin, the payout, the player’s stake, and the number of rounds. This report is built as a
dictobject. It’s then serialized into JSON, encoded into UTF-8, and sent back to the client.Note that we’ve avoided handling multiple players. This would add a class and another POST method under the
/player/path. It would add a bit of definition and bookkeeping. ThePOSTprocessing to create a new player would be similar to the processing for placing a bet. This is an interesting exercise, but it doesn’t introduce any new programming techniques.
Mastering Object-oriented Python PDF
Know more about our initiative
[yasr_visitor_votes size=”medium”]
