TGTGInsighttelegram intelligenceLIVE / telegram public index
← GitHub Trends

TGINSIGHT SIMILAR POSTS

Find similar content

Source channel @githubtrending · Post #14730 · May 21

#c_lang Kilo is a small text editor that uses less than 1,000 lines of code. It is simple to use and doesn't need any extra libraries. You can save files with **CTRL-S**, quit with **CTRL-Q**, and search for words with **CTRL-F**. Kilo is a good starting point for making more advanced text editors or command-line interfaces. It's free to use and modify under the BSD 2 clause license. This makes it easy for users to learn from and build upon, helping them create their own tools. https://github.com/antirez/kilo

Hashtags

Results

1 similar post found

Search: #interpolation

当前筛选 #interpolation清除筛选
djangoproject

@djangoproject · Post #435 · 09/07/2017, 01:47 PM

https://www.python.org/dev/peps/pep-0498/ #Interpolation # Python supports multiple ways to format text strings. # These include %-formatting, # str.format(), # and string.Template # The !s, !r, and !a conversions are not strictly required. # Because arbitrary expressions are allowed inside the #f_strings, # this code: »> a = 'some string' »> f'{a!r}' "'some string'" Is identical to: »> f'{repr(a)}' "'some string'" Similarly, !s can be replaced by calls to #str() and !a by calls to #ascii().