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.
#287 Surprising ways to use Jupyter Notebooks
MP3•Episode home
Manage episode 330985997 series 1305988
By Michael Kennedy and Brian Okken. Discovered by Player FM and our community — copyright is owned by the publisher, not Player FM, and audio is streamed directly from their servers. Hit the Subscribe button to track updates in Player FM, or paste the feed URL into other podcast apps.
Watch the live stream:
Watch on YouTubeAbout the show
Sponsored by us! Support our work through:
Michael #1: auto-py-to-exe
- Converts .py to .exe using a simple graphical interface
- A good candidate to install via pipx
- For me, just point it at the top level app.py file and click go
- Can add icons, etc.
- Got a .app version and CLI version (I think 😉 )
- Required brew install python-tk to get tkinter on my mac
- I tested it against my URLify app.
- Oddly, only ran on Python 3.9 but not 3.10
Brian #2: 8 surprising ways how to use Jupyter Notebook
- by Aleksandra Płońska, Piotr Płoński
- Fun romp through ways you can use and abuse notebooks
- package development
- web app
- slides
- book
- blog
- report
- dashboard
- REST API
Michael #3: piptrends
- by Tankala Ashok
- Use piptrends.com for comparing python packages downloads and GitHub Statistics.
- Whenever doing research which python package, check multiple places to finalize it so thought of putting all those things in a single place.
- Inspired by npmtends.com.
Brian #4: Is it a class or a function? It's a callable!
- by Trey Hunner
- It’s kinda hard to tell in Python. Actually, impossible to tell from staring at the calling code.
- “Of the 69 “built-in functions” listed in the Python Built-In Functions page, only 42 are actually implemented as functions: 26 are classes and 1 (
help
) is an instance of a callable class. - Of the 26 classes among those built-in “functions”, four were actually functions in Python 2 (the now-lazy
map
,filter
,range
, andzip
) but have since become classes. - The Python built-ins and the standard library are both full of maybe-functions-maybe-classes.”
len
- yep, that’s a functionzip
- that’s a classreversed
,enumerate
,range
, andfilter
“functions” are all classes. But callable classes.- Cool discussion of
- callable objects
- partials, itemgetters, iterators, generators, factory functions
- …
Extras
Brian:
- What’s in which Python - Ned Batchelder
- brief bullet list of a few memorable changes in versions 2.1 through 3.11
Michael:
- Orion Browser via Dan Bader
- PSF 2021 Survey Results are out (full analysis next week)
Joke: async problems
301 episodes