python:f-strings

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン両方とも次のリビジョン
python:f-strings [2020/05/31 09:34] – [書式編集のパフォーマンス比較] ともやんpython:f-strings [2020/05/31 16:55] ともやん
行 1: 行 1:
 <html> <html>
   <style>   <style>
-    #mincode pre { +    #result pre, #mincode pre { 
-      /*height: 300px;*/ +      overflow: hidden;
-      overflow: scroll; +
-      overflow-x: hidden;+
       font-size: 10px;       font-size: 10px;
     }     }
-    #mincode_long pre { +    #result_long pre { 
-      height: 400px;+      height: 250px;
       overflow: scroll;       overflow: scroll;
       overflow-x: hidden;       overflow-x: hidden;
行 16: 行 14:
       font-size: 12px;       font-size: 12px;
     }     }
-    .dokuwiki .plugin_wrap table +    #mintbl td pre 
-      widthauto;+      margin0;
     }     }
-    #result pre +    #img_long 
-      /*height: 300px;*/+      height: 400px;
       overflow: scroll;       overflow: scroll;
       overflow-x: hidden;       overflow-x: hidden;
-      font-size: 10px;+    } 
 +    .dokuwiki .plugin_wrap table { 
 +      width: auto; 
 +    } 
 +    #logo { 
 +      background-color: white; 
 +      padding: 10px
 +      width: fit-content; 
 +    } 
 +    #logo p { 
 +      margin: 0;
     }     }
   </style>   </style>
行 94: 行 102:
 [[https://qiita.com/tomotaka_ito/items/594ee1396cf982ba9887|Python文字列操作マスター - Qiita]]\\ [[https://qiita.com/tomotaka_ito/items/594ee1396cf982ba9887|Python文字列操作マスター - Qiita]]\\
 [[https://realpython.com/python-f-strings/|Python 3's f-Strings: An Improved String Formatting Syntax (Guide) – Real Python]]\\ [[https://realpython.com/python-f-strings/|Python 3's f-Strings: An Improved String Formatting Syntax (Guide) – Real Python]]\\
 +[[https://pyformat.info/|PyFormat: Using % and .format() for great good!]]\\
  
  • python/f-strings.txt
  • 最終更新: 2023/05/08 09:33
  • by ともやん