My Python Network Programming Notes: Difference between revisions
Jump to navigation
Jump to search
m added new resource |
|||
Line 4: | Line 4: | ||
Python [https://docs.python.org/3/library/timeit.html timeit] module used to measure execution time of small code snippets | Python [https://docs.python.org/3/library/timeit.html timeit] module used to measure execution time of small code snippets | ||
https://realpython.com/python-sockets/ | |||
=== Books === | === Books === |
Latest revision as of 12:32, 11 July 2019
Resources[edit | edit source]
Python random module implements pseudo-random number generators for various distributions.
Python timeit module used to measure execution time of small code snippets
https://realpython.com/python-sockets/
Books[edit | edit source]
Foundations of Python Network Programming 3rd ed. Edition by Brandon Rhodes and associated scripts and examples on github
Playground[edit | edit source]
Create some bytes to send over socket.
>> b = bytes('bearerModification'* 10, 'ascii') >>>> b b'bearerModificationbearerModificationbearerModificationbearerModificationbearerModificationbearerModificationbearerModificationbearerModificationbearerModificationbearerModification' >>>