example-code icon indicating copy to clipboard operation
example-code copied to clipboard

Example code for the book Fluent Python, 1st Edition (O'Reilly, 2015)

Results 24 example-code issues
Sort by recently updated
recently updated
newest added

the 18-asyncio-py3.7 folder doesn't have this file. but this file doesn't work in aiohttp3.5.4 with Python3.7.2 the Request object has no attribute 'GET', use query instead. ``` def home(request): try:...

Hello, I am a beginner of Python and github. I have just learned chapter 10 of Fluent Python. I noticed that in the last discussion section in chapter 10 you...

I'm trying to run the `Example A-2` (page 689 in the First Edition). I'm not sure if it's something wrong that I'm doing.. but I read the code 10 times....

After that, I can see the rotation in Pycharm. Otherwise, nothing will be seen before "Answer: 42" appear. By the way, the original edition gives what we expected in Jupyter.

In Jupyter I can run this correctly only after these modifications.

18-Python 3.7: module 'asyncio' has no attribute 'run'

my python version is 3.7.6, when I try running tombola_runner.py, it reports to me that: fixture 'cls' not found the error log is: ``` file D:\huawei-code\github\example-code\11-iface-abc\tombola_runner.py, line 23 def test(cls,...

When I try running the tombola_runner.py in chapter 11, python reports to me that the '_abc_registry' doesn't exist. I searched in docs, but found that the attribute is not accesible...

The delegating generator grouper delegates averager inside a while loop. Every time averager returns, a new but useless averager instance will be created during the following loop period. Adding a...