Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 22465

Python Bytes: #286 Unreasonable f-strings

$
0
0
<p><strong>Watch the live stream:</strong></p> <a href='https://www.youtube.com/watch?v=dGYs-PqTvWk' style='font-weight: bold;'>Watch on YouTube</a><br> <br> <p><strong>About the show</strong></p> <p>Sponsored by us! Support our work through:</p> <ul> <li>Our <a href="https://training.talkpython.fm/"><strong>courses at Talk Python Training</strong></a></li> <li><a href="https://testandcode.com/"><strong>Test &amp; Code</strong></a> Podcast</li> <li><a href="https://www.patreon.com/pythonbytes"><strong>Patreon Supporters</strong></a></li> </ul> <p><strong>Brian #1:</strong> <a href="https://www.backblaze.com/blog/the-python-gil-past-present-and-future/"><strong>The Python GIL: Past, Present, and Future</strong></a></p> <ul> <li>Bary Warsaw and Paweł Polewicz</li> </ul> <p><strong>Michael #2:</strong> <a href="https://gregoryszorc.com/blog/2022/05/10/announcing-the-pyoxy-python-runner/"><strong>Announcing the PyOxy Python Runner</strong></a></p> <ul> <li>PyOxy is all of the following: <ul> <li>An executable program used for running Python interpreters.</li> <li>A single file and highly portable (C)Python distribution.</li> <li>An alternative <code>python</code> driver providing more control over the interpreter than what <code>python</code> itself provides.</li> <li>A way to make some of PyOxidizer's technology more broadly available without using PyOxidizer.</li> </ul></li> <li>PyOxidizer is often used to generate binaries embedding a Python interpreter and a custom Python application. However, its configuration files support additional functionality, such as the ability to produce Windows MSI installers, macOS application bundles, and more.</li> <li>The <code>pyoxy</code> executable also embeds a copy of the Python standard library and imports it from memory using the <a href="https://pyoxidizer.readthedocs.io/en/latest/oxidized_importer.html">oxidized_importer</a> Python extension module.</li> </ul> <p><strong>Brian #3:</strong> <a href="https://death.andgravity.com/f-re"><strong>The unreasonable effectiveness of f-strings and re.VERBOSE</strong></a></p> <p><strong>Michael #4:</strong> <a href="https://twitter.com/mkennedy/status/1471606340619419652"><strong>PyCharm PR Management</strong></a></p> <ul> <li>Really nice but not very discoverable</li> <li>Not covered in <a href="https://www.jetbrains.com/pycharm/features/tools.html">the docs</a>, but super useful.</li> <li>Available in pro and free community edition</li> <li>Steps <ul> <li>Open a project that has an associated github git repo</li> <li>If the GitHub repo has a PR, you’ll see it in the Pull Requests tab.</li> <li>Browse the PRs, and open them for details</li> <li>There you can see the comments, close or merge it, and more</li> <li>Most importantly, check it out to see how it works</li> </ul></li> </ul> <p><strong>Extras</strong> </p> <p>Brian:</p> <ul> <li><a href="https://blog.pyodide.org/posts/pandastutor/"><strong>Pandas Tutor: Using Pyodide to Teach Data Science at Scale</strong></a></li> </ul> <p>Michael:</p> <ul> <li><a href="https://www.youtube.com/watch?v=lC2jUeDKv-s"><strong>Python + pyscript + WebAssembly: Python Web Apps, Running Locally with pyscript video</strong></a> is out</li> <li>And an <a href="https://youtu.be/Nct0usblj64"><strong>iOS Python Apps video</strong></a> too</li> </ul> <p><strong>Joke:</strong> </p> <p><a href="https://twitter.com/btskinn/status/1526583946372317184?s=12&amp;t=tc8OsqCRA9o-20wgFMqXHA"><strong>Losing an orm</strong></a>!</p> <p><img src="https://paper-attachments.dropbox.com/s_8D63881203B6B9B83341B9CED474611E85FBFC726008DD91E14C0FB9110B49B3_1653978086388_joke_1.jpeg" alt="" /></p>

Viewing all articles
Browse latest Browse all 22465

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>