TGTGInsightintelligence telegramLIVE / telegram public index
← Writing Way

TGINSIGHT SIMILAR POSTS

Trova contenuti simili

Canale sorgente @WritingWay · Post #1173 · 13 dic

DOMANDE E RISPOSTE ❓🧐 #scrittura#comunicazione 🍸🍸Inauguro oggi una nuova rubrica: Domande e risposte. Ogni giorno autori, scrittori e professionisti mi sottopongono quesiti, dubbi, questioni che hanno a che fare con la comunicazione, la scrittura narrativa e professionale, la costruzione di una storia o la stesura e la pubblicazione di un libro. Penso che possa essere utile condividere con voi queste domande e, ovvio, le risposte. Forse, molte di queste sono domande che anche voi vi fate o vi siete fatti. Spero troverete qui qualche risposta utile o almeno suggerimenti importanti per la vostra attività di scrittura.

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