Python Packages Introduction

  • 網點地質:https://pypi.org/
  • prettytable
    • from prettytable improt PrerryTable
    • table = PrerryTable()然後可以打印出來
    • table.align = ‘l/r/c’ 調整位置靠到哪一邊排版,這是一個屬性
創建列名字的方法,如何添加旗下的屬性值他变了

Colorgram

用於提取圖片中的主題顏色到一個list
  • colorgram.extract(‘image.png/jgp’, 6):
    • 圖片
    • 顏色數量
  • color_list[0..5]:
    • rpg
    • hsl
    • proportion




Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: