title: Python - How to use padding left with align left from String format function
body: <p>I'm working on conclusing the dataset into the text as table, but I'm stucked at padding left from the left table row is does not have space between the table's edge and the content.</p>
  <p>The table that I expected.</p>
  <pre><code>┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐
  │                                            Novice Wishes                                             │
  ├────────────────────────────────────────────────────────────┬────────────────────┬────────────────────┤
  │  Harbinger of Dawn                                         │       Weapon       │      3 Stars       │
  │  Black Tassel                                              │       Weapon       │      3 Stars       │
  │  Skyrider Sword                                            │       Weapon       │      3 Stars       │
  │  Sharpshooter's Oath                                       │       Weapon       │      3 Stars       │
  │  Bloodtainted Greatsword                                   │       Weapon       │      3 Stars       │
  │  Cool Steel                                                │       Weapon       │      3 Stars       │
  │  Sucrose                                                   │     Character      │      4 Stars       │
  │  Sharpshooter's Oath                                       │       Weapon       │      3 Stars       │
  │  Keqing                                                    │     Character      │      5 Stars       │
  │  Raven Bow                                                 │       Weapon       │      3 Stars       │
  └────────────────────────────────────────────────────────────┴────────────────────┴────────────────────┘
  </code></pre>
  <p>The table from program's result.</p>
  <pre><code>┌──────────────────────────────────────────────────────────────────────────────────────────────────────┐
  │                                            Novice Wishes                                             │
  ├────────────────────────────────────────────────────────────┬────────────────────┬────────────────────┤
  │Harbinger of Dawn                                           │       Weapon       │      3 Stars       │
  │Black Tassel                                                │       Weapon       │      3 Stars       │
  │Skyrider Sword                                              │       Weapon       │      3 Stars       │
  │Sharpshooter's Oath                                         │       Weapon       │      3 Stars       │
  │Bloodtainted Greatsword                                     │       Weapon       │      3 Stars       │
  │Cool Steel                                                  │       Weapon       │      3 Stars       │
  │Sucrose                                                     │     Character      │      4 Stars       │
  │Sharpshooter's Oath                                         │       Weapon       │      3 Stars       │
  │Keqing                                                      │     Character      │      5 Stars       │
  │Raven Bow                                                   │       Weapon       │      3 Stars       │
  └────────────────────────────────────────────────────────────┴────────────────────┴────────────────────┘
  </code></pre>
  <p>The Python table builder code section.</p>
  <pre><code>for banner in data[&quot;result&quot;]:
    tableContent += &quot;┌&quot; + &quot;─&quot; * (tableWidth + len(tableWidthRatio)-1) + &quot;┐\n&quot;
    tableContent += &quot;│{:^{}s}│\n&quot;.format(getBannerName(banner[0]),tableWidth + len(tableWidthRatio)-1)
    tableContent += (&quot;├&quot; + 
      &quot;─&quot; * (int(tableWidth * tableWidthRatio[0])) + &quot;┬&quot; + 
      &quot;─&quot; * (int(tableWidth * tableWidthRatio[1])) + &quot;┬&quot; + 
      &quot;─&quot; * (int(tableWidth * tableWidthRatio[2])) + &quot;┤\n&quot;
    )
    for item in banner[1]:
      obtainedDatetime, itemName, itemType, itemRarity, *optionalItemData = item
      tableContent += (&quot;│{:&lt;{}s}│{:^{}s}│{:^{}s}│\n&quot;.format(
        itemName,int(tableWidth * tableWidthRatio[0]),
        itemType,int(tableWidth * tableWidthRatio[1]),
        str(itemRarity)+&quot; Stars&quot;,int(tableWidth * tableWidthRatio[2])
      ))
    tableContent += (&quot;└&quot; + 
      &quot;─&quot; * (int(tableWidth * tableWidthRatio[0])) + &quot;┴&quot; + 
      &quot;─&quot; * (int(tableWidth * tableWidthRatio[1])) + &quot;┴&quot; + 
      &quot;─&quot; * (int(tableWidth * tableWidthRatio[2])) + &quot;┘\n&quot;
    )
    tableContent += &quot;\n&quot;
  </code></pre>