ENGLISH

Modern Python Standard Library Cookbook

Book information

Publisher
Packt
Year
2018
ISBN
978-1-78883-082-9
Language
english
Format
PDF
Filesize
928 kB (950380 bytes)
Pages
349\349
Time added
2019-01-02 10:56:14

Description

Contents......Page 3 Preface......Page 13 Introduction......Page 19 How to do it.........Page 20 There's more.........Page 21 How to do it.........Page 23 How it works.........Page 24 There's more.........Page 25 How to do it.........Page 26 There's more.........Page 27 How to do it.........Page 28 How it works.........Page 29 How to do it.........Page 30 There's more.........Page 31 How to do it.........Page 32 There's more.........Page 33 Bunch......Page 35 How it works.........Page 37 There's more.........Page 38 How to do it.........Page 40 There's more.........Page 41 Introduction......Page 43 How to do it.........Page 44 There's more.........Page 45 Text similarity......Page 46 There's more.........Page 47 How to do it.........Page 48 How to do it.........Page 50 How it works.........Page 52 There's more.........Page 53 How it works.........Page 54 How to do it.........Page 55 How it works.........Page 56 How to do it.........Page 57 How it works.........Page 58 How to do it.........Page 60 How it works.........Page 61 Introduction......Page 64 How to do it.........Page 65 How it works.........Page 66 Logging to file......Page 67 How it works.........Page 68 Logging to Syslog......Page 69 How to do it.........Page 70 There's more.........Page 71 How to do it.........Page 72 How it works.........Page 73 How to do it.........Page 75 How it works.........Page 78 Sizing terminal text......Page 79 How to do it.........Page 80 How to do it.........Page 81 How it works.........Page 82 There's more.........Page 83 How to do it.........Page 84 How it works.........Page 85 Message boxes......Page 88 How to do it.........Page 89 How it works.........Page 91 Getting ready......Page 92 How to do it.........Page 93 How it works.........Page 94 Introduction......Page 96 How it works.........Page 97 How to do it.........Page 98 Expanding filenames......Page 99 How to do it.........Page 100 Named temporary files......Page 101 Memory and disk buffer......Page 102 Managing filename encoding......Page 103 How it works.........Page 104 Copying a directory......Page 105 How it works.........Page 106 How to do it.........Page 107 How it works.........Page 109 Introduction......Page 110 How to do it.........Page 111 There's more.........Page 112 How to do it.........Page 113 There's more.........Page 114 How to do it.........Page 115 How to do it.........Page 116 Displaying dates in user format......Page 117 How to do it.........Page 118 There's more.........Page 119 How to do it.........Page 120 Going to next month......Page 121 How it works.........Page 122 How to do it.........Page 124 How to do it.........Page 125 How to do it.........Page 126 There's more.........Page 127 Introduction......Page 128 How it works.........Page 129 How to do it.........Page 130 How to do it.........Page 131 How it works.........Page 132 There's more.........Page 133 How to do it.........Page 134 How it works.........Page 135 How to do it.........Page 136 There's more.........Page 137 Reading configuration files......Page 138 How to do it.........Page 139 How it works.........Page 141 There's more.........Page 142 How to do it.........Page 143 How it works.........Page 145 Reading XML/HTML content......Page 147 How to do it.........Page 148 How it works.........Page 150 There's more.........Page 151 How to do it.........Page 152 There's more.........Page 153 How to do it.........Page 154 How it works.........Page 155 There's more.........Page 156 Chapter 7: Algorithms......Page 157 How to do it.........Page 158 How it works.........Page 159 There's more.........Page 160 Getting the nth element of any iterable......Page 161 Grouping similar items......Page 162 How it works.........Page 163 How to do it.........Page 164 How to do it.........Page 165 There's more.........Page 166 How to do it.........Page 167 How to do it.........Page 168 Memoizing......Page 169 How to do it.........Page 170 How it works.........Page 171 How to do it.........Page 172 How it works.........Page 173 How it works.........Page 174 How to do it.........Page 175 How it works.........Page 176 Proper decoration......Page 177 There's more.........Page 178 How to do it.........Page 180 How to do it.........Page 182 Introduction......Page 184 How it works.........Page 185 How to do it.........Page 186 How it works.........Page 187 Verifying a file's integrity......Page 188 How to do it.........Page 189 Verifying a message's integrity......Page 190 How to do it.........Page 191 How it works.........Page 192 Introduction......Page 194 How to do it.........Page 195 How it works.........Page 197 There's more.........Page 198 Coroutines......Page 199 How to do it.........Page 200 How it works.........Page 201 There's more.........Page 203 Processes......Page 204 How to do it.........Page 205 How it works.........Page 206 There's more.........Page 207 Futures......Page 208 How to do it.........Page 209 How it works.........Page 210 Scheduled tasks......Page 212 How to do it.........Page 213 How it works.........Page 214 Sharing data between processes......Page 216 How to do it.........Page 217 How it works.........Page 218 There's more.........Page 219 Introduction......Page 220 How to do it.........Page 221 How it works.........Page 222 How to do it.........Page 225 How it works.........Page 227 There's more.........Page 230 How to do it.........Page 231 How it works.........Page 233 There's more.........Page 235 How to do it.........Page 236 How it works.........Page 238 AsyncIO......Page 242 How to do it.........Page 243 How it works.........Page 246 How to do it.........Page 247 How it works.........Page 249 There's more.........Page 251 Introduction......Page 253 How to do it.........Page 254 How it works.........Page 257 There's more.........Page 261 How to do it.........Page 262 There's more.........Page 263 How to do it.........Page 264 How it works.........Page 265 Submitting forms to HTTP......Page 267 How to do it.........Page 268 How it works.........Page 270 Building HTML......Page 272 How it works.........Page 273 How to do it.........Page 275 How it works.........Page 277 There's more.........Page 278 How to do it.........Page 279 There's more.........Page 280 How to do it.........Page 281 How it works.........Page 282 Handling forms and files......Page 284 How to do it.........Page 285 How it works.........Page 286 How to do it.........Page 287 How it works.........Page 290 Handling cookies......Page 291 How to do it.........Page 292 How it works.........Page 293 There's more.........Page 294 Introduction......Page 295 How to do it.........Page 296 Detecting image types......Page 297 How it works.........Page 298 How to do it.........Page 299 How it works.........Page 301 Playing audio/video/images......Page 303 How it works.........Page 304 Introduction......Page 306 Alerts......Page 307 How it works.........Page 308 Dialog boxes......Page 309 How to do it.........Page 311 How it works.........Page 312 How to do it.........Page 313 How it works.........Page 315 Lists......Page 317 How to do it.........Page 318 How it works.........Page 319 Menus......Page 320 How to do it.........Page 321 How it works.........Page 322 Introduction......Page 323 How to do it.........Page 324 Testing......Page 325 How to do it.........Page 326 How it works.........Page 327 Mocking......Page 328 How it works.........Page 329 There's more.........Page 330 How to do it.........Page 331 How it works.........Page 332 There's more.........Page 334 How to do it.........Page 335 How it works.........Page 336 There's more.........Page 337 How to do it.........Page 338 Tracing code......Page 339 How to do it.........Page 340 How it works.........Page 341 Profiling......Page 343 How it works.........Page 344 Index......Page 346

Similar books