senooken JP Social
  • FAQ
  • Login
senooken JP Socialはsenookenの専用分散SNSです。
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. gyu-don (gyudon@qiitadon.com)'s status on Friday, 05-Oct-2018 13:58:12 JST gyu-don gyu-don

    コメント欄。Pythonのフォーマット文字列がリテラルで書けるようになったって話、そういえばあったな。けど、リテラルで書いた場合、全変数をキャプチャしてるわけで、ネスト可能なフォーマット文字列までできちゃったら、なんていうか、事実上evalみたいなもんだし、邪悪な気がして仕方ない。 https://qiita.com/gyu-don/items/5e71dcc14ffb4b424e80

    In conversation Friday, 05-Oct-2018 13:58:12 JST from qiitadon.com permalink

    Attachments

    1. フォーマット文字列で、整数を「2進数ゼロ詰めn桁」で表示する - Qiita
      from Qiita
      #フォーマット文字列 RustやPythonでは、フォーマット文字列を使って、複雑なフォーマット指定で整数や浮動小数点数などを表示させることができます。 例えば、フォーマット文字列に `{:0>8b}` を使うと「2進数ゼロ詰め8桁」...
    • 7of9(0x70f9=28921) repeated this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.