materials icon indicating copy to clipboard operation
materials copied to clipboard

Bonus materials, exercises, and example projects for our Python tutorials

Results 61 materials issues
Sort by recently updated
recently updated
newest added

source: hashtable.py in [01_define_a_custom_hashtable_class](https://github.com/realpython/materials/tree/master/hashtable/01_hashtable_prototype/01_define_a_custom_hashtable_class) **Describe the bug** running the test throws an error for line self.values = capacity * [None] TypeError: cant multiply sequence by non-int of type ' NoneType'...

In your tutorial, you refer to "The last template to create is the post_detail template. This should be blog_detail.html. Using post instead of blog results in an error as the...

:information_source: After I use it (https://github.com/realpython/materials/blob/master/python-sockets-tutorial/multiconn-client.py) with a small change (minor change from echo server to normal server) - - after sending and receiving messages from the client and server,...

:information_source: https://github.com/realpython/materials/blob/master/python-sockets-tutorial/app-server.py https://github.com/realpython/materials/blob/master/python-sockets-tutorial/app-client.py https://github.com/realpython/materials/blob/master/python-sockets-tutorial/libserver.py https://github.com/realpython/materials/blob/master/python-sockets-tutorial/libclient.py You can report issues and problems here, but we typically won't be able to provide 1:1 support outside the channels listed above. **Describe the bug**...

@dbader, thanks very much for your example code. **Description of the bug** Running the multi-connection example from the python-sockets-tutorial, ie, - materials/python-sockets-tutorial/multiconn-client.py sometimes, but not always, concatenates the two messages....

# Import Module import socket import time # Create a TCP/IP socket sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) # Connect the socket to the port where the server is listening server_address =...

It seems the Muli-connection server example doesn't properly handle the Connection Reset Error; ``` Traceback (most recent call last): File "server.py", line 65, in service_connection(key, mask) File "server.py", line 24,...

These are just some minor fixes to the Python code of the Python bindings article.

Neither the article nor the README for this project states the version of Django that this project works on. I found a migration that said `Generated by Django 2.1.4 on...