PLAY PODCASTS
Python's Command-Line Utilities & Music Information Retrieval Tools
Episode 209

Python's Command-Line Utilities & Music Information Retrieval Tools

The Real Python Podcast · Real Python

June 21, 202451m 16s

Audio is streamed directly from the publisher (dts.podtrac.com) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

<p>What are the built-in Python modules that can work as useful command-line tools? How can these tools add more functionality to Windows machines? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder&rsquo;s Weekly articles and projects.</p> <p>Christopher shares an article by Trey Hunner about Python&rsquo;s extensive collection of command-line utilities? The piece digs into general-purpose tools that format JSON data or start a simple web server and additional utilities for working with your Python code from the terminal.</p> <p>We cover a set of Jupyter Notebooks for teaching and learning the art of music processing and Music Information Retrieval (MIR). The notebooks are resources for working through the textbook, &ldquo;Fundamentals of Music Processing: Audio, Analysis, Algorithms, Applications.&rdquo; </p> <p>We also share several other articles and projects from the Python community, including a news roundup, a discussion of CRUD operations, a description of Python&rsquo;s built-in bytes sequence, favorite essays on development and programming, Python resources for working with Excel, and a project for creating finite state machines in Python.</p> <p>This episode is sponsored by APILayer.</p> <div class="alert alert-primary" role="alert"> <p><strong>Course Spotlight:</strong> <a href="https://realpython.com/courses/binary-bytes-bitwise-operators/">Binary, Bytes, and Bitwise Operators in Python</a></p> <p>In this course, you&rsquo;ll learn how to use Python&rsquo;s bitwise operators to manipulate individual bits of data at the most granular level. With the help of hands-on examples, you&rsquo;ll see how you can apply bitmasks and overload bitwise operators to control binary data in your code.</p> </div> <p>Topics:</p> <ul> <li>00:00:00 &ndash; Introduction</li> <li>00:02:21 &ndash; Python 3.12.4 Released</li> <li>00:02:52 &ndash; Python 3.13.0 Beta 2 Released</li> <li>00:03:01 &ndash; PEP 712 Rejected</li> <li>00:04:18 &ndash; Django in Action - Mr. Trudeau&rsquo;s Book has Launched!</li> <li>00:06:23 &ndash; What Are CRUD Operations?</li> <li>00:10:12 &ndash; Python&rsquo;s Many Command-Line Utilities</li> <li>00:14:04 &ndash; Sponsor: APILayer</li> <li>00:14:55 &ndash; Notebooks for Fundamentals of Music Processing</li> <li>00:22:55 &ndash; bytes: The Lesser-Known Python Built-in Sequence</li> <li>00:26:57 &ndash; Video Course Spotlight</li> <li>00:28:34 &ndash; Essays on Programming I Think About a Lot</li> <li>00:41:28 &ndash; Python Resources for Working With Excel</li> <li>00:46:13 &ndash; Python Finite State Machines Made Easy</li> <li>00:50:10 &ndash; Thanks and goodbye</li> </ul> <p>News:</p> <ul> <li><a href="https://pythoninsider.blogspot.com/2024/06/python-3124-released.html">Python 3.12.4 Released</a> &ndash; See the <a href="https://docs.python.org/release/3.12.4/whatsnew/changelog.html#python-3-12-4">full list of changes</a> in this release</li> <li><a href="https://pythoninsider.blogspot.com/2024/06/python-3130-beta-2-released.html">Python 3.13.0 Beta 2 Released</a></li> <li><a href="https://peps.python.org/pep-0712/">PEP 712 Rejected</a> &ndash; This Python Enhancement Proposal &ldquo;Adding a &lsquo;converter&rsquo; parameter to <code>dataclasses.field</code>&rdquo; was determined to have an insufficient number of use cases.</li> <li><a href="http://mng.bz/Jg5o">Django in Action</a></li> </ul> <p>Show Links:</p> <ul> <li><a href="https://realpython.com/crud-operations/">What Are CRUD Operations?</a> &ndash; CRUD operations are the cornerstone of application functionality. Whether you access a database or interact with a REST API, you usually want to create, retrieve, update, and delete data. In this tutorial, you&rsquo;ll explore how CRUD operations work in practice.</li> <li><a href="https://www.pythonmorsels.com/cli-tools/">Python&rsquo;s Many Command-Line Utilities</a> &ndash; This article describes every command-line tool included with Python, each of which can be run with <code>python -m module_name</code>.</li> <li><a href="https://www.audiolabs-erlangen.de/resources/MIR/FMP/C0/C0.html">Notebooks for Fundamentals of Music Processing</a> &ndash; This is a collection of Python Notebooks for teaching and learning the fundamentals of music processing. Examples include illustrations, sound samples, math, and more.</li> <li><a href="https://www.thepythoncodingstack.com/p/bytes-python-built-in-unicode-utf-8-encoding"><code>bytes</code>: The Lesser-Known Python Built-in Sequence</a> &ndash; The <code>bytes</code> data type looks a bit like a string, but it isn&rsquo;t a string. This article explores it and also looks at the main Unicode encoding, UTF-8</li> </ul> <p>Discussion:</p> <ul> <li><a href="https://www.benkuhn.net/progessays/">Essays on Programming I Think About a Lot</a> &ndash; A collection of essays on software from a variety of sources. Content includes how to choose your tech stack, products, abstractions, and more.</li> <li><a href="https://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time">Falsehoods programmers believe about time - Infinite Undo</a></li> <li><a href="https://beesbuzz.biz/code/439-Falsehoods-programmers-believe-about-email">Falsehoods programmers believe about email</a></li> <li><a href="https://wiesmann.codiferes.net/wordpress/archives/15187">Falsehoods programmers believe about geography – Thias の blog</a></li> <li><a href="https://github.com/kdeldycke/awesome-falsehood">awesome-falsehood: 😱 Falsehoods Programmers Believe In</a></li> </ul> <p>Projects:</p> <ul> <li><a href="https://www.python-excel.org/">Python Resources for Working With Excel</a></li> <li><a href="https://github.com/fgmacedo/python-statemachine">Python Finite State Machines Made Easy</a></li> </ul> <p>Additional Links:</p> <ul> <li><a href="https://realpython.com/courses/sqlite-sqlalchemy-python-beyond-flat-files/">SQLite and SQLAlchemy in Python: Move Your Data Beyond Flat Files – Real Python</a></li> <li><a href="https://realpython.com/courses/python-unicode/">Unicode in Python: Working With Character Encodings – Real Python</a></li> <li><a href="https://www.audiolabs-erlangen.de/fau/professor/mueller/bookFMP">Fundamentals of Music Processing - Editions of the Book</a></li> <li><a href="https://realpython.com/courses/editing-excel-python-openpyxl/">Editing Excel Spreadsheets in Python With openpyxl – Real Python</a></li> <li><a href="https://www.xlwings.org/blog/my-thoughts-on-python-in-excel">My thoughts on Python in Excel</a></li> <li><a href="https://www.theverge.com/c/24133822/microsoft-excel-spreadsheet-competition-championship">The Microsoft Excel superstars throw down in Vegas</a></li> </ul> <p>Level up your Python skills with our expert-led courses:</p> <ul> <li><a href="https://realpython.com/courses/playing-and-recording-sound-python/">Playing and Recording Sound in Python</a></li> <li><a href="https://realpython.com/courses/binary-bytes-bitwise-operators/">Binary, Bytes, and Bitwise Operators in Python</a></li> <li><a href="https://realpython.com/courses/python-unicode/">Unicode in Python: Working With Character Encodings</a></li> </ul> <p><a rel="payment" href="https://realpython.com/join">Support the podcast &amp; join our community of Pythonistas</a></p>