Once you learn about for loops in Python, you know that using an index to access items in a sequence isn't very Pythonic. So what do you do when you need that index value? In this tutorial, you'll learn all about Python's built-in enumerate(), where it's ... (more…)
Read more »
Can an AI rediscover physics from raw NASA data? 6 reproducible experiments with Jupyter notebooks. - SaulVanCode/protoscience-nasa-experiments... (more…)
Read more »
You can use py-spy to profile already running Python code without restarting your process or modifying the source code. (more…)
Read more »
Yesterday morning, before Christmas got going, I read about the big Powerball win Wednesday night. I figured that was as good an excuse as any to practice my new lotto math skills and wrote a short Python script to work out the game’s odds. (more…)
Read more »