<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wannabe-jellyfish</author_name>
  <author_url>https://blog.hatena.ne.jp/wannabe-jellyfish/</author_url>
  <blog_title>くらげになりたい。</blog_title>
  <blog_url>https://memory-lovers.blog/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>Pythonのフォーマットする方法がいろいろあるっぽく、調べた時の備忘録。 フォーマットの種類 num = 1000 ### str.format() print('{:,.2f}'.format(num)) # 1,000.00 ### f文字列：Python3.6の新機能 print(f&quot;{num:,.2f}&quot;) # 1,000.00 指定する書式文字列はどちらも同じ Align: 左寄せ、中央寄せ、右寄せ print('left : {:&lt;10}'.format(100)) # left : 100 print('center: {:*^10}'.format(100)) # cente…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemory-lovers.blog%2Fentry%2F2018%2F10%2F06%2F012114&quot; title=&quot;Pythonのフォーマットのメモ - くらげになりたい。&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-10-06 01:21:14</published>
  <title>Pythonのフォーマットのメモ</title>
  <type>rich</type>
  <url>https://memory-lovers.blog/entry/2018/10/06/012114</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
