TGTGInsightintelligence telegramLIVE / telegram public index
← Writing Way

TGINSIGHT SIMILAR POSTS

Trova contenuti simili

Canale sorgente @WritingWay · Post #1387 · 19 ott

#05 HAI RICOPIATO IL ROMANZO? 🎬 Ascolta il passaggio di testo che ti leggo in questo audio e il suggerimento che viene dato. Si tratta di un esercizio impegnativo, ma molto utile. #scriverebene#scrittura#editing#editoria 🎧Nell'audio di oggi: 📕Descrivo un esercizio davvero efficace per migliorare la scrittura. 📕Ti spiego perché è utile. 📕 Ti consiglio un libro interessante. 🔎 Scopri una sfida che sono certa ti piacerà. @writingway 🙌 Se pensi che questo audio possa interessare ad altri, condividilo cliccando sulla freccia a destra.

Risultati

1 post simile trovati

Cerca: #interpolation

当前筛选 #interpolation清除筛选
djangoproject

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

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().