Talk Python To Me artwork

Talk Python To Me

780 episodes - English - Latest episode: 6 days ago - ★★★★★ - 418 ratings

Talk Python to Me is a weekly podcast hosted by developer and entrepreneur Michael Kennedy. We dive deep into the popular packages and software developers, data scientists, and incredible hobbyists doing amazing things with Python. If you're new to Python, you'll quickly learn the ins and outs of the community by hearing from the leaders. And if you've been Pythoning for years, you'll learn about your favorite packages and the hot new ones coming out of open source.

Technology
Homepage Apple Podcasts Google Podcasts Overcast Castro Pocket Casts RSS feed

Episodes

#289 Disovering exoplanets with Python

November 09, 2020 08:00 - 47 minutes - 36.9 MB

When I saw the headline "Machine learning algorithm confirms 50 new exoplanets in historic first" I knew the Python angle of this story had to be told! And that's how this episode was born. Join David Armstrong and Jev Gamper as they tell us how they use Python and machine learning to discover not 1, but 50 new exoplanets in pre-existing Keplar satellite data. Links from the show Jev Gamper on Twitter: @brutforcimag Machine learning algorithm confirms 50 new exoplanets in historic first ar...

#289 Discovering exoplanets with Python

November 09, 2020 08:00 - 47 minutes - 22.5 MB

When I saw the headline "Machine learning algorithm confirms 50 new exoplanets in historic first" I knew the Python angle of this story had to be told! And that's how this episode was born. Join David Armstrong and Jev Gamper as they tell us how they use Python and machine learning to discover not 1, but 50 new exoplanets in pre-existing Keplar satellite data. Links from the show Jev Gamper on Twitter: @brutforcimag Machine learning algorithm confirms 50 new exoplanets in historic first ar...

#288 10 tips to move from Excel to Python

October 31, 2020 08:00 - 1 hour - 29.8 MB

Excel is one of the most used and most empowering piece of software out there. But that doesn't make it a good fit for every data processing need. And when you outgrow Excel, a really good option for a next step is Python and the data science tech stack: Pandas, Jupyter, and friends. Chris Moffitt is back on Talk Python to give us concrete tips and tricks for moving from Excel to Python! Links from the show Chris on Twitter: @chris1610 Practical Business Python: pbpython.com Escaping Ex...

#288: 10 tips to move from Excel to Python

October 31, 2020 08:00 - 1 hour - 29.8 MB

See the full show notes for this episode on the website at talkpython.fm/288

#287 Testing without dependencies, mocking in Python

October 21, 2020 08:00 - 1 hour - 27.9 MB

We know our unit tests should be relatively independent from other parts of the system. For example, running a test shouldn't generally call a credit card possessing API and talk to a database when your goal is just to test the argument validation. And yet, your method does all three of those and more. What do you do? Some languages use elaborate dependency passing frameworks that go under the banner of inversion of control (IoC) and dependency injections (DI). In Python, the most common fi...

#287: Testing without dependencies, mocking in Python

October 21, 2020 08:00 - 1 hour - 27.9 MB

See the full show notes for this episode on the website at talkpython.fm/287

#286 Python and ML at NASA Jet Propulsion Laboratory (JPL)

October 16, 2020 08:00 - 1 hour - 33.3 MB

NASA's Jet Propulsion Laboratory (JPL)'s primary function is the construction and operation of planetary robotic spacecraft, though it also conducts Earth-orbit and astronomy missions. It is also responsible for operating NASA's Deep Space Network. On this episode, you'll meet Chris Mattman. He's the Division Manager for the Artificial Intelligence, Analytics and Innovation at NASA JPL and he's JPL's first Principal Scientist in the area of Data Science. We cover a wide range of topics, an...

#286: Python and ML at NASA Jet Propulsion Laboratory (JPL)

October 16, 2020 08:00 - 1 hour - 33.3 MB

See the full show notes for this episode on the website at talkpython.fm/286

#285: Dask as a Platform Service with Coiled

October 09, 2020 08:00 - 1 hour - 33.7 MB

See the full show notes for this episode on the website at talkpython.fm/285

#285 Dask as a Platform Service with Coiled

October 09, 2020 08:00 - 1 hour - 33.7 MB

If you're into data science, you've probably heard about Dask. It's a package that feels like familiar APIs such as Numpy, Pandas, and Scikit-Learn. Yet it can scale that computation across CPU cores on your local machine all the way to distributed grid-based computing in large clusters. While powerful, this may take some serious setup to execute in its full glory. That's why Matthew Rocklin has teamed up with Hugo Bowne-Anderson and others to launch a business to help Python loving data sc...

#284 Modern and fast APIs with FastAPI

October 04, 2020 08:00 - 1 hour - 31.2 MB

As Python 3 has eclipsed the old constrains of Python 2 and web frameworks that adopted them, we have seen a big jump in new frameworks appearing on the scene taking full advantage of things like type hints, async and await, and more. No framework has done this more successfully than FastAPI recently. That's why we are here with the creator of FastAPI, Sebastián Ramírez to dive into this exciting new Python web framework. Links from the show Sebastian: @tiangolo FastAPI: fastapi.tiangol...

#284: Modern and fast APIs with FastAPI

October 04, 2020 08:00 - 1 hour - 31.2 MB

See the full show notes for this episode on the website at talkpython.fm/284

#283: Web scraping, the 2020 edition

September 23, 2020 08:00 - 48 minutes - 22.9 MB

See the full show notes for this episode on the website at talkpython.fm/283

#283 Web scraping, the 2020 edition

September 23, 2020 08:00 - 48 minutes - 22.9 MB

Web scraping is pulling the HTML of a website down and parsing useful data out of it. The use-cases for this type of functionality are endless. Have a bunch of data on governmental sites that are only listed online in HTML without a download? There's an API for that! Do you want to keep abreast of what your competitors are featuring on their site? There's an API for that. Need alerts for changes on a website, for example enrollment is now open at your college and you want to be first to get i...

#282 pre-commit framework

September 17, 2020 08:00 - 59 minutes - 28.8 MB

Git hook scripts are useful for identifying simple issues before committing your code. Hooks run on every commit to automatically point out issues in code such as trailing whitespace and debug statements. By pointing these issues out before code review, this allows a code reviewer to focus on the architecture of a change while not wasting time with trivial style nitpicks. As we created more libraries and projects we recognized that sharing our pre-commit hooks across projects is painful. Th...

#282: pre-commit framework

September 17, 2020 08:00 - 59 minutes - 28.8 MB

See the full show notes for this episode on the website at talkpython.fm/282

#281 Python in Car Racing

September 09, 2020 08:00 - 1 hour - 28.1 MB

I love to bring you stories of Python being used in amazing places outside the traditional tech silos of pure web development and data science. On this episode, you'll meet Robert "Kane" Replogle, who works on the simulation and test software at Richard Childress Racing. The NASCAR team that just finished #1 and 2 in at the Texas Motor Speedway. You'll hear how Python is allowing them to model car behavior, air flow, and more much faster than others using outdated tools. Watch the hot la...

#281: Python in Car Racing

September 09, 2020 08:00 - 1 hour - 28.1 MB

See the full show notes for this episode on the website at talkpython.fm/281

#280 Python and AI in Journalism

September 05, 2020 08:00 - 55 minutes - 24.4 MB

If there has ever been a time in history that journalism is needed to shine a light on what's happening in the world, it's now. Would it surprise you to hear that Python and machine learning are playing an increasingly important role in discovering and bringing us the news? On this episode, you'll meet Carolyn Stansky, a journalist and developer who's been researching this intersection. Links from the show Carolyn on Twitter: @carolstran Carolyn on LinkedIn: linkedin.com Carolyn's site: w...

#280: Python and AI in Journalism

September 05, 2020 08:00 - 55 minutes - 24.4 MB

See the full show notes for this episode on the website at talkpython.fm/280

#279 Modern Python Developer's Toolkit

August 29, 2020 08:00 - 1 hour - 29.5 MB

Python is quick and easy to learn. And yet, there is a massive gap between knowing the common aspects of the language (loops, variables, functions, and so on) and how to write a well-factored application using modern tools and libraries. That's where learning Python is a never-ending journey. Sebastian Witowski is here to give us his take on a modern Python developer's toolkit. There are a bunch of great tips in store for us. Links from the show Sebastian on Twitter: @SebaWitowski The tu...

#279: Modern Python Developer's Toolkit

August 29, 2020 08:00 - 1 hour - 29.5 MB

See the full show notes for this episode on the website at talkpython.fm/279

#278: Teach kids Python with real programming and fun games at Code Combat

August 21, 2020 08:00 - 1 hour - 30.8 MB

See the full show notes for this episode on the website at talkpython.fm/278

#278 Teach kids Python with real programming and fun games at Code Combat

August 21, 2020 08:00 - 1 hour - 30.8 MB

If there is one message I've been pushing across all of the Talk Python episodes, it's that programming is a superpower. Rather than all of us abandoning what we're interested in and becoming CS majors, we can take our passion or expertise and 10x it with a little programming skill. In that case, we should be teaching kids fluency in programming at a younger age. And yet, almost every platform or example meant to do so pulls its punches. We'll teach kids programming concepts but not code it...

#277 10 tips every Django developer should know

August 10, 2020 08:00 - 1 hour - 33.5 MB

We recently covered 10 tips that every Flask developer should know. But we left out a pretty big group in the Python web space: Django developers! And this one is for you. I invited Bob Belderbos, who's been running his SaaS business on Python and Django for several years now, to share his tips and tricks. The 10 tips Django Admin ORM magic Models Debugging/Performance Toolbar Extending the User model Class based views (CBVs) manage.py Write your own middleware Config variable mana...

#277: 10 tips every Django developer should know

August 10, 2020 08:00 - 1 hour - 32.3 MB

See the full show notes for this episode on the website at talkpython.fm/277

#276 Geekout: Life in the solar system and beyond

August 06, 2020 08:00 - 1 hour - 37.6 MB

We're back with another GeekOut episode. Richard Campbell, a developer and podcaster who also dives deep into science and tech topics, is back for our second GeekOut episode. Last time we geeked out about the real science and progress around a moon base. This time it's why is there life on Earth, where could it be or have been in the solar system, and beyond. In case you didn't catch the first GeekOut, episode 253, this one is more of a general science and tech episode. I love digging into ...

#276: Geekout: Life in the solar system and beyond

August 06, 2020 08:00 - 1 hour - 37.6 MB

See the full show notes for this episode on the website at talkpython.fm/276

#275 Beautiful Pythonic Refactorings

August 01, 2020 08:00 - 55 minutes - 26 MB

Do you obsess about writing your code just the right way before you get started? Maybe you have some ugly code on your hands and you need to make it better. Either way, refactoring could be your ticket to happier days! On this episode, we'll talk through a powerful example of iteratively refactoring some code until we eventually turn our ugly duckling into a Pythonic beauty. Conor Hoekstra is our guest on this episode to talk us through refactoring some web scraping code. Links from the sh...

#275: Beautiful Pythonic Refactorings

August 01, 2020 08:00 - 55 minutes - 26 MB

See the full show notes for this episode on the website at talkpython.fm/275

#274: Profiling data science code with FIL

July 24, 2020 08:00 - 58 minutes - 26.9 MB

See the full show notes for this episode on the website at talkpython.fm/274

#274 Profiling data science code with FIL

July 24, 2020 08:00 - 58 minutes - 26.9 MB

Do you write data science code? Do you struggle loading large amounts of data or wonder what parts of your code use the maximum amount of memory? Maybe you just want to require smaller compute resources (servers, RAM, and so on). If so, this episode is for you. We have Itamar Turner-Trauring, creator of the Python data science memory profiler FIL here to talk memory usage and data science. Links from the show Itamar on twitter: @itamarst FIL: pythonspeed.com Python Bytes coverage of F...

#273 CoCalc: A fully colloborative notebook development environment

July 18, 2020 08:00 - 55 minutes - 25.3 MB

Everyone in the Python space is familiar with Notebooks these days. One of the original notebook environments was SageMath. Created by William Stein, and collaborators, it began as an open-source, Python-based, computational environment focused on mathematicians. It has since grown into a full-blown company and has become a proper collaborative environment for things like Jupyter notebooks, Linux-backed Bash shells, and much more. Think Google Docs but across all these facets of development...

#273: CoCalc: A fully colloborative notebook development environment

July 18, 2020 08:00 - 55 minutes - 25.3 MB

See the full show notes for this episode on the website at talkpython.fm/273

#272 No IoT things in hand? Simulate them with Device Simulator Express

July 12, 2020 08:00 - 51 minutes - 23.4 MB

Python is one of the primary languages for IoT devices. With runtimes such as CircuitPython and MicroPython, they are ideal for the really small IoT chips. Maybe you've heard of the Circuit Playground Express, BBC micro:bit, or the fancy Adafruit CLUE. They aren't too expensive (ranging from $25 to $50 each). But for large groups such as classrooms, this can be a lot of money. Moreover, getting your hands on these devices can sometimes be tricky as well. With an extension for VS Code cal...

#272: No IoT things in hand? Simulate them with Device Simulator Express

July 12, 2020 08:00 - 51 minutes - 23.4 MB

See the full show notes for this episode on the website at talkpython.fm/272

#271: Unlock the mysteries of time, Python's datetime that is!

July 04, 2020 08:00 - 1 hour - 29.9 MB

See the full show notes for this episode on the website at talkpython.fm/271

#271 Unlock the mysteries of time, Python's datetime that is!

July 04, 2020 08:00 - 1 hour - 29.9 MB

Time is a simple thing, right? And working with it in Python is great. You just import datetime and then (somewhat oddly) use the datetime class from that module. Oh except, there are times with timezones, and times without. And why is there a total_seconds() but not total_minutes(), hours() or days() on timedelta? How about computing the number of weeks? What if you wanted to iterate over the next 22 workdays, skipping weekends? Ok, we'd better talk about time in Python! Good thing Pau...

#270 Python in supply chains: oil rigs, rockets, and lettuce

June 25, 2020 08:00 - 59 minutes - 29.5 MB

On this episode, we are going to weave a thread through three different areas of Python programming that at first seem unlikely to have much in common. Yet, the core will be the same throughout. I think this is a cool lesson to learn as you get deeper into programming and a great story to highlight it. We are going to meet Ravin Kumar who wrote Python code and data science tooling for oil rig tool manufacturer, a rocket company, and a hip multilocation restaurant chain. Links from the show...

#270: Python in supply chains: oil rigs, rockets, and lettuce

June 25, 2020 08:00 - 59 minutes - 29.5 MB

See the full show notes for this episode on the website at talkpython.fm/270

#269 HoloViz - a suite of tools for Python visualization

June 19, 2020 08:00 - 55 minutes - 25.6 MB

The toolchain for modern data science can be intimidating. How do you choose between all the data visualization libraries out there? How about creating interactive web apps from those analyses? On this episode, we dive into a project that attempts to bring the whole story together: HoloViz. HoloViz is a coordinated effort to make browser-based data visualization in Python easier to use, easier to learn, and more powerful. And we have Philipp Rudiger from HoloViz here to guide us through it...

#269: HoloViz - a suite of tools for Python visualization

June 19, 2020 08:00 - 55 minutes - 25.6 MB

See the full show notes for this episode on the website at talkpython.fm/269

#268 Analyzing dozens of notebook environments

June 13, 2020 08:00 - 54 minutes - 26.1 MB

Are you using interactive notebooks for your data exploration or day-to-day programming? What environment do you use? Was it Jupyter and now you've made the move to JupyterLab? That's a great choice. But did you know there are more environments out there to choose from and compare? Have you heard of Callisto or Iodide? How about CoCalc or PolyNote? That's just the tip of the iceberg! That's why I'm happy to have Sam Lau and Philip Guo here to share their research comparing and categorizing ...

#268: Analyzing dozens of notebook environments

June 13, 2020 08:00 - 54 minutes - 26.1 MB

See the full show notes for this episode on the website at talkpython.fm/268

#267: 15 amazing pytest plugins

June 06, 2020 08:00 - 53 minutes - 25 MB

See the full show notes for this episode on the website at talkpython.fm/267

#267 15 amazing pytest plugins

June 06, 2020 08:00 - 53 minutes - 25 MB

Do you write tests for your code? You probably should. And most of the time, pytest is the industry standard these days. But pytest can be much more than what you get from just installing it as a tool. There are many amazing plugins that improve pytest in many aspects. That's why I invited Brian Okken to the show to tell us about his favorites. Listen in and your Python testing will be faster, stronger, and more beautiful! Links from the show Brian Okken: @brianokken Brian's pytest book:...

#266 Refactoring your code, like magic with Sourcery

May 29, 2020 08:00 - 57 minutes - 22.3 MB

Refactoring your code is a fundamental step on the path to professional and maintainable software. We rarely have the perfect picture of what we need to build when we start writing code and attempts to over plan and overdesign software often lead to analysis paralysis rather than ideal outcomes. Join me as I discuss refactoring with Brendan Maginnis and Nick Thapen as well as their tool, Sourcery, to automate refactoring in the popular Python editors. Links from the show Guests Brendan M...

#266: Refactoring your code, like magic with Sourcery

May 29, 2020 08:00 - 57 minutes - 22.3 MB

See the full show notes for this episode on the website at talkpython.fm/266

#265 Why is Python slow?

May 19, 2020 08:00 - 1 hour - 27.9 MB

The debate about whether Python is fast or slow is never-ending. It depends on what you're optimizing for: Server CPU consumption? Developer time? Maintainability? There are many factors. But if we keep our eye on pure computational speed in the Python layer, then yes, Python is slow. In this episode, we invite Anthony Shaw back on the show. He's here to dig into the reasons Python is computationally slower than many of its peer languages and technologies such as C++ and JavaScript. Links ...

#265: Why is Python slow?

May 19, 2020 08:00 - 1 hour - 27.9 MB

See the full show notes for this episode on the website at talkpython.fm/265

Twitter Mentions

@talkpython 48 Episodes
@mkennedy 48 Episodes
@anthonypjshaw 9 Episodes
@brettsky 8 Episodes
@brianokken 7 Episodes
@dbader_org 6 Episodes
@miguelgrinberg 5 Episodes
@kjaymiller 5 Episodes
@paulweveritt 5 Episodes
@samuel_colvin 5 Episodes
@_inesmontani 4 Episodes
@llanga 4 Episodes
@cecilphillip 4 Episodes
@pumpichank 3 Episodes
@emilyemorehouse 3 Episodes
@mrocklin 3 Episodes
@__mharrison__ 3 Episodes
@richcampbell 3 Episodes
@kjam 3 Episodes
@tiangolo 3 Episodes