Mike Driscoll

@driscollis
397 Followers
13 Following
1.2K 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/
How to profile code with #Python using the built-in cProfile module in the REPL
54 - Neural Networks and Data Visualization with Nicolas Rougier

In this episode, we have the honor of having Nicolas Rougier on our show.

The Python Show

The latest episode of The Python Show is out now!

Today's special guest is Nicolas Rougier who researches the brain using neural networks with #Python

Need to create a thread pool in #Python? 🐍🔥

Here's one way to do that using Python'se handy concurrent futures library:

Here are a couple of different ways to create an empty function or stub in #Python

This can be useful when planning your code or presenting to your team how something could be implemented.

#Python Pop Quiz 🐍❓

What is the output of the following code?

A) 255
B) 256
C) ff
D) 377

How to reverse a string and a list in #Python using slicing! 🐍🔥

Which #Python CLI tool(s) do you use and why?

🐍 argparse
🐍 click
🐍 cyclopts
🐍 Typer
🐍 Rich
🐍 python-fire

#Python Pop Quiz 🐍❓

What is the output of the following code?

A) {1, 2, 3}
B) 1, 2, 3
C) (1, 2, 3)
D) An exception is raised

#Python Pop Quiz 🐍❓

What is the output of the following code?

A) {[4,5,6]}
B) 4, 5, 6
C) [4, 5, 6]
D) [4,5,6]

×

#Python Pop Quiz 🐍❓

What is the output of the following code?

A) {[4,5,6]}
B) 4, 5, 6
C) [4, 5, 6]
D) [4,5,6]