Mike Driscoll

@driscollis
413 Followers
13 Following
1.5K Posts

I write, blog, podcast and more about everything #Python

Writing about Python at https://blog.pythonlibrary.org/ and https://pythonpapers.com/

Teaching at https://teachmepython.com/

Podcasting at https://pythonshow.com/

Author of multiple books, including Python 101

Bloghttps://blog.pythonlibrary.org/
Teach Me Pythonhttps://teachmepython.com/
The Python Showhttps://pythonshow.com/
The Python Papershttps://pythonpapers.com/
Need to work with a heap queue in #Python? Try the built-in `heapq` module!

How to create a frozenset in #Python

Let me know what you are using frozen sets for in your code!

Want to play some music 🎢🎡 in #Python? Check out the 3rd-party VLC package!
How to get the absolute value of a number + a BONUS how to get the magnitude of a complex number in #Python using the built-in `abs()` function
Need to convert RGB ro HSV or vice-versa in #Python? Try the colorsys module!
What is the fastest way to create an empty dictionary in #Python? Using `timeit` to find out:
How to change the compression of a JPEG image during saving with #Python and Pillow using only THREE lines of code! πŸπŸ–Ό
A silly example of using a #Python lambda and `filter()` to find multiples of four
How to use borb to create a simple PDF with #Python
How to get information from the user on the command line with #Python using the built-in `input()` function: