差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン 次のリビジョン両方とも次のリビジョン | ||
python:f-strings [2020/05/31 09:33] – [フォーマット済み文字列リテラル(f-strings)] ともやん | python:f-strings [2020/09/11 20:25] – ともやん | ||
---|---|---|---|
行 1: | 行 1: | ||
- | < | + | ====== フォーマット済み文字列リテラル (f-strings) ====== |
- | < | + | <WRAP prewrap 100%> |
- | #mincode pre { | + | |
- | /*height: 300px;*/ | + | |
- | overflow: scroll; | + | |
- | overflow-x: hidden; | + | |
- | font-size: 10px; | + | |
- | } | + | |
- | # | + | |
- | height: 400px; | + | |
- | overflow: scroll; | + | |
- | overflow-x: hidden; | + | |
- | font-size: 10px; | + | |
- | } | + | |
- | #mintbl table { | + | |
- | font-size: 12px; | + | |
- | } | + | |
- | .dokuwiki .plugin_wrap table { | + | |
- | width: auto; | + | |
- | } | + | |
- | #result pre { | + | |
- | /*height: 300px;*/ | + | |
- | overflow: scroll; | + | |
- | overflow-x: hidden; | + | |
- | font-size: 10px; | + | |
- | } | + | |
- | </ | + | |
- | </ | + | |
- | ====== フォーマット済み文字列リテラル(f-strings) ====== | + | |
- | <WRAP prewrap 100% #mincode> | + | |
<code python> | <code python> | ||
>>> | >>> | ||
行 66: | 行 38: | ||
</ | </ | ||
===== 書式編集のパフォーマンス比較 ===== | ===== 書式編集のパフォーマンス比較 ===== | ||
- | <WRAP prewrap 100% #mincode> | + | <WRAP prewrap 100%> |
<code python> | <code python> | ||
$ python | $ python | ||
行 94: | 行 66: | ||
[[https:// | [[https:// | ||
[[https:// | [[https:// | ||
+ | [[https:// | ||