Myvideo

Guest

Login

Python f-strings can do more than you thought. fval=, fval!r, fdt:%Y-%m-%d

Uploaded By: Myvideo
5 views
0
0 votes
0

f-strings in Python are not just a way to easily substitute variables inside strings, they come with a wide array of conversion, formatting, and debugging options which we give examples of in this video. Note: I’m trying a more informal style in this video so make sure to let me know if you like it better this way, as opposed to my usual cut-after-every-sentence editing. ― mCoding with James Murphy () Source code: f-string docs: #f-strings AFFILIATES AND REFERRALS --------------------------------------------------- Automatically Improve Python Code Quality: SUPPORT ME ⭐ --------------------------------------------------- Sign up on Patreon to get your donor role and early access to videos! Feeling generous but don’t have a Patreon? Donate via PayPal! (No sign up needed.) https://ww

Share with your friends

Link:

Embed:

Video Size:

Custom size:

x

Add to Playlist:

Favorites
My Playlist
Watch Later