(Jan-03-2022, 01:29 PM)snippsat Wrote:(Jan-03-2022, 08:12 AM)medlexo Wrote: I would love to know if f-string is faster.It's faster,but more important it's more readable.
You can see speed test in links under.
Python 3's f-Strings: An Improved String Formatting Syntax (Guide)
F-strings — make your python code more readable today
It's a interesting project as it can be quite useful to have it insert working code example's of many aspect of Python usage.
The name can be a little confusingpython snippets 2
,can sound like is code snippet for Python 2
Python3 code generator
would be me advice,but that's up to you.
It's fine with GIF file to show usage,but it's way to big.
Should have information over,then show concept with a shorter GIF under.
The gif was provided by the original developer, I will re-record a new gif then.
Sincerely thank you for the advice, I will change to f-string asap. Maybe this Sunday.
I will name it
python snippets 3
thanks for mention it