 今天在处理某些数据时,需要将数据显示出来。 结果我遇到一个问题,数据内容可以看成是一个表格,我在使用for循环逐行显示出来,显示出来的数据是这个样子:  好吧,如果我没有上年纪,眼睛又不花,并且有足够的时间和耐心,我觉得这数据还是有一点点意义的。但是如果遇到没有耐心的朋友,看到***这坨***数据,可能就会在心里不由自主地骂一句。 为了不被朋友骂,我将数据显示得漂漂亮亮的。那么如何才能让数据显示的漂亮一点呢? # 放弃自己造轮子 我首先想到的是自己造轮子。比如说用***`\t`***,来分割数据。但是有时候一列里数据有长有短,那么可能有的需要***`\t`***两次,有的一次就够,那么我是不是要计算一下数据长度呢?短的就跳两次三次,长的则跳一次。然后是不是还有左对齐、右对齐的问题?那么我还是计算,然后通过在前边或者后边补空格实现对齐处理。还有加表头,分隔符等等等,好吧,我承认,我已经晕鸟。 既然自己造轮子,能力有限,造不出来,那么有没有现成的轮子可用呢?我记得无论是steempy还是uptick显示数据可都挺美观的。于是看了一下uptick中的代码,找到这样一句: `from prettytable import PrettyTable` 原来它使用的是一个叫做PrettyTable的模块。 比如显示配置信息的时候:  代码看起来很简单嘛。 咱也试试 # PrettyTable 安装以及使用 #### 安装 使用以下命令安装PrettyTable `pip install prettytable` 因为uptick已经帮我安装了这个,所以提示: >Requirement already satisfied: prettytable in ./venv/lib/python3.6/site-packages #### 使用 使用也很简单,我从[这里](https://stackoverflow.com/questions/18911984/align-column-names-with-data-in-a-csv-file-using-python)找了个例子: ``` from prettytable import PrettyTable # Initialize the object passing the table headers t = PrettyTable(['A', 'B', 'C']) t.align='l' t.border=False t.add_row([111,222,333]) t.add_row([444,555,666]) t.add_row(['longer text',777,'even longer text here']) print str(t) ``` 以上代码很好理解,先是导入模块设置表头,然后设置样式,然后逐行添加数据,然后显示。 Python3上需要把`print str(t)`改成`print(str(t))` 以上代码执行效果如下:  # 应用到自己程序里 学会了PrettyTable的使用以后,我就把它应用到我的代码里去。我的一坨内容终于变得漂漂亮亮了,你猜猜这是啥?  或许你看到我将PrettyTable应用到我的程序里很简单,实际上则是一波三折啊。 #### str转换 我的一坨代码之前都可以用print显示。但是将数据用`t.add_row()`的方式加进来以后,却提示出错。原因是print(var)会自动将其转换,而`t.add_row([var1, var2])`则不进行转换。 为了解决这个问题,需要进行类似`t.add_row([str(var1), str(var2)])`的处理。 #### 格式设置 PrettyTable默认格式应该是居中,但是 Collateral和 Debt条目居中显示非常难以阅读。  于是我通过 ***`t.align["Collateral"] = "r"`*** ***`t.align["Debt"] = "r"`*** 设置这两列为右对齐 然而无论我怎么试,它也不生效。我去搜索PrettyTable格式设置不生效,不起作用等等,搜了半天也没找到解决方案。 最后,当我打算放弃时,我发现原来是我一直在A.py上修改,然后运行的是B.py 😳 # 总结 * 不要尝试自己制造轮子 * PrettyTable 模块格式化打印内容非常简单简单好用 * 遇到灵异事件时不要轻易放弃😳 # 参考链接 * https://stackoverflow.com/questions/18911984/align-column-names-with-data-in-a-csv-file-using-python * https://pypi.python.org/pypi/PrettyTable * http://blog.csdn.net/codeway3d/article/details/52798804 封面图源:https://pixabay.com
author | oflyhigh |
---|---|
permlink | python-prettytable |
category | python |
json_metadata | {"tags":["python","prettytable","cn-programming","cn"],"image":["https://steemitimages.com/DQmcXykUFo6aLJ3aC9Ga3sfZsnh7ZsYzXheXSGEfKANdM2g/image.png","https://steemitimages.com/DQmVXZih7VygBqHyvK6Uj3Fxafbgo8pMMmL46nkPqixvzPq/image.png","https://steemitimages.com/DQmb6bsVXH25yuFyU5fcA85MV2kn5ihznzhA5ATJfKPWA3R/image.png","https://steemitimages.com/DQmc9NYEuVZaoWrMXyPbvZ2kKsnCWeDb3sGk9Abh7QtWDhm/image.png","https://steemitimages.com/DQmegxAczJQLNPDQkTijm4so8FSdk1RzqaoLP3rS5XNxKoa/image.png","https://steemitimages.com/DQmPeCXLyoD7eaRqP8ySXBZJKEd3uqqUDpjm2RSnuUDS44b/image.png"],"links":["https://stackoverflow.com/questions/18911984/align-column-names-with-data-in-a-csv-file-using-python","https://pypi.python.org/pypi/PrettyTable","http://blog.csdn.net/codeway3d/article/details/52798804","https://pixabay.com"],"app":"steemit/0.1","format":"markdown"} |
created | 2017-12-24 12:52:24 |
last_update | 2017-12-24 12:52:24 |
depth | 0 |
children | 10 |
last_payout | 2017-12-31 12:52:24 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 102.017 HBD |
curator_payout_value | 22.870 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 2,665 |
author_reputation | 6,302,571,491,231,543 |
root_title | "Python PrettyTable 模块学习 (格式化打印内容)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 25,013,740 |
net_rshares | 23,000,460,635,084 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
pharesim | 0 | 102,466,079,236 | 0.08% | ||
sandra | 0 | 13,602,730,815 | 13% | ||
abit | 0 | 6,636,432,532,200 | 100% | ||
bue | 0 | 27,585,871,683 | 100% | ||
mod-tamichh | 0 | 30,647,618,131 | 100% | ||
jademont | 0 | 168,705,014,657 | 100% | ||
mark-waser | 0 | 153,281,818,142 | 100% | ||
vi1son | 0 | 93,967,165,759 | 100% | ||
livingfree | 0 | 505,682,773,129 | 13% | ||
blockchainbilly | 0 | 17,066,534,355 | 50% | ||
deanliu | 0 | 1,153,692,900,090 | 100% | ||
rea | 0 | 1,890,061,055,392 | 100% | ||
joythewanderer | 0 | 289,857,848,773 | 60% | ||
ace108 | 0 | 203,160,192,164 | 25% | ||
tensaix2j | 0 | 2,179,072,719 | 100% | ||
magicmonk | 0 | 76,892,180,950 | 50% | ||
laoyao | 0 | 30,442,879,786 | 100% | ||
cryptoninja | 0 | 935,233,486 | 20% | ||
somebody | 0 | 1,294,714,847,645 | 100% | ||
feelapi | 0 | 236,599,671 | 60% | ||
midnightoil | 0 | 92,769,311,414 | 100% | ||
btsabc | 0 | 39,746,878,285 | 100% | ||
xiaohui | 0 | 866,487,294,667 | 100% | ||
oflyhigh | 0 | 2,401,444,894,750 | 100% | ||
xiaokongcom | 0 | 13,604,079,604 | 100% | ||
archiles | 0 | 85,459,062 | 100% | ||
ericsim1991 | 0 | 85,968,339 | 100% | ||
ericsim1989 | 0 | 84,164,454 | 100% | ||
chinadaily | 0 | 218,798,430,492 | 100% | ||
helene | 0 | 472,041,167,973 | 100% | ||
ethansteem | 0 | 224,148,690,939 | 100% | ||
englishtchrivy | 0 | 37,393,932,303 | 8% | ||
ivet | 0 | 19,084,831,154 | 50% | ||
davidjkelley | 0 | 7,670,264,843 | 100% | ||
digital-wisdom | 0 | 63,832,104,134 | 100% | ||
ethical-ai | 0 | 20,161,245,389 | 100% | ||
jwaser | 0 | 38,842,208,501 | 100% | ||
profitgenerator | 0 | 1,083,250,902 | 100% | ||
damarth | 0 | 267,673,385,001 | 3% | ||
bwaser | 0 | 9,030,624,908 | 100% | ||
ellepdub | 0 | 1,849,919,412 | 100% | ||
herpetologyguy | 0 | 299,108,818,084 | 100% | ||
morgan.waser | 0 | 15,509,319,780 | 100% | ||
handyman | 0 | 6,952,609,387 | 100% | ||
mrtv2 | 0 | 58,099,679,361 | 100% | ||
strong-ai | 0 | 17,972,583,574 | 100% | ||
stacee | 0 | 59,239,456,274 | 100% | ||
steemtruth | 0 | 37,218,899,038 | 10% | ||
lalala | 0 | 50,903,815,571 | 100% | ||
judasp | 0 | 183,674,287,668 | 100% | ||
devilwsy | 0 | 2,268,153,589 | 100% | ||
janiceting | 0 | 2,266,482,870 | 100% | ||
abraomarcos | 0 | 2,050,629,359 | 100% | ||
lydiachan | 0 | 63,753,629,573 | 100% | ||
technoprogressiv | 0 | 17,772,231,320 | 100% | ||
dragon40 | 0 | 2,726,661,824 | 10% | ||
jackhircus | 0 | 126,146,554,268 | 70% | ||
blackbunny | 0 | 90,158,949,878 | 100% | ||
ripperone | 0 | 1,163,973,595,901 | 25% | ||
chessmasterhex | 0 | 3,302,882,990 | 100% | ||
bxt | 0 | 115,689,861,010 | 100% | ||
lingfei | 0 | 26,860,782,541 | 100% | ||
jinaa | 0 | 10,419,189,900 | 100% | ||
yyyy | 0 | 14,546,263,543 | 100% | ||
alexis555 | 0 | 1,542,467,584,459 | 23% | ||
trafalgar | 0 | 729,726,104,372 | 3% | ||
laodr | 0 | 169,460,485,100 | 100% | ||
austinsandersco | 0 | 780,364,216 | 70% | ||
mandagoi | 0 | 9,665,941,304 | 21% | ||
ribalinux | 0 | 7,349,109,055 | 20% | ||
wylo | 0 | 617,754,967 | 100% | ||
leomichael | 0 | 71,428,204,726 | 5% | ||
jkkim | 0 | 703,234,412 | 10% | ||
ebejammin | 0 | 11,498,132,954 | 100% | ||
nanosesame | 0 | 23,819,151,626 | 80% | ||
happychau123 | 0 | 4,881,480,460 | 100% | ||
revelim | 0 | 10,405,906,499 | 30% | ||
cryptohustler | 0 | 4,839,585,241 | 100% | ||
drwom | 0 | 19,066,767,576 | 40% | ||
exec | 0 | 81,586,029,528 | 100% | ||
eval | 0 | 807,383,981 | 100% | ||
michaelwilshaw | 0 | 4,776,548,760 | 10% | ||
speeding | 0 | 4,095,540,755 | 100% | ||
shaffrimohd | 0 | 310,762,716 | 50% | ||
shenchensucc | 0 | 4,254,159,125 | 100% | ||
walkinharmony | 0 | 15,665,844,678 | 50% | ||
asterix87 | 0 | 5,938,005,375 | 100% | ||
abetterworld | 0 | 4,283,081,534 | 100% | ||
raili | 0 | 5,237,552,702 | 100% | ||
changbrook | 0 | 1,522,262,401 | 100% | ||
siren7 | 0 | 966,590,756 | 100% | ||
that1consultant | 0 | 4,991,639,653 | 100% | ||
sanzo | 0 | 315,294,834 | 100% | ||
davaowhenyo | 0 | 620,139,483 | 100% | ||
allenshayzar | 0 | 619,520,000 | 100% | ||
raku | 0 | 617,220,000 | 100% | ||
resteeming | 0 | 221,729,700 | 100% | ||
ravenousappetite | 0 | 619,520,000 | 100% | ||
aabb | 0 | 3,981,641,826 | 100% | ||
auntigormint | 0 | 423,602,815 | 100% | ||
mrliga | 0 | 10,289,577,131 | 100% | ||
angela.ghkh | 0 | 3,461,537,275 | 100% | ||
sweethoney | 0 | 273,656,790 | 100% | ||
liangfengyouren | 0 | 1,441,675,144 | 50% | ||
fessikay | 0 | 1,034,014,254 | 50% | ||
idx | 0 | 21,565,757,399 | 100% | ||
jiangchen | 0 | 2,218,302,697 | 100% | ||
exprmnt | 0 | 179,210,711 | 100% | ||
fr3eze | 0 | 38,217,177,520 | 48% | ||
sylvia1997 | 0 | 24,319,543,434 | 100% | ||
sasongko | 0 | 510,142,684 | 100% | ||
kayros | 0 | 2,012,467,985 | 75% | ||
mrspointm | 0 | 10,473,565,154 | 28% | ||
bearpaw | 0 | 2,789,550,507 | 100% | ||
vadimlasca | 0 | 1,443,998,256 | 100% | ||
ericsim | 0 | 216,832,000 | 100% | ||
freedom-fighter | 0 | 619,520,000 | 100% | ||
waiyee422 | 0 | 5,083,372,332 | 100% | ||
daphneklee | 0 | 5,446,291,494 | 100% | ||
renzhichu | 0 | 9,873,277,106 | 93% | ||
acactus1013 | 0 | 5,885,850,550 | 100% | ||
technologynepal | 0 | 617,220,000 | 100% | ||
tiffanyrej | 0 | 3,926,863,330 | 100% | ||
khalilad | 0 | 615,320,000 | 100% | ||
ms8988 | 0 | 615,320,000 | 100% | ||
framethinker | 0 | 101,841,300 | 100% | ||
xiaoshancun | 0 | 931,398,487 | 100% | ||
hqy | 0 | 9,219,018,389 | 100% | ||
zinia | 0 | 395,020,800 | 100% | ||
monkeyplayfire | 0 | 55,490,170 | 100% | ||
wangwenjing | 0 | 8,162,980,532 | 50% | ||
brendashockley | 0 | 114,185,700 | 25% | ||
ikonik | 0 | 615,320,000 | 100% | ||
vfxness | 0 | 12,255,629,762 | 100% | ||
lemminon | 0 | 615,320,000 | 100% | ||
heyeshuang | 0 | 1,233,570,281 | 100% | ||
rambeesbd | 0 | 234,642,093 | 100% | ||
fastiduos | 0 | 615,320,000 | 100% | ||
ivysrono | 0 | 26,285,570,175 | 100% | ||
weavingwords | 0 | 56,906,617,830 | 100% | ||
daydayup | 0 | 40,547,522,212 | 100% | ||
nitro.live | 0 | 18,346,408,545 | 100% | ||
jincheng | 0 | 4,411,547,308 | 50% | ||
tonyliu | 0 | 503,793,449 | 100% | ||
deanyeong | 0 | 2,026,252,447 | 80% | ||
chann | 0 | 5,255,109,727 | 10% | ||
stabilowl | 0 | 41,219,914,121 | 51% | ||
ungest | 0 | 151,886,445 | 15.9% | ||
ythehuy | 0 | 2,142,303,482 | 100% | ||
saury | 0 | 256,311,606 | 100% | ||
candiru | 0 | 257,614,554 | 100% | ||
cryptonewsly | 0 | 155,184,492 | 100% | ||
masrawy | 0 | 86,380,161 | 100% | ||
wangcy | 0 | 615,320,000 | 100% | ||
wyp | 0 | 494,995,298 | 100% | ||
egyption | 0 | 55,378,800 | 100% | ||
kirinboy | 0 | 728,583,568 | 100% | ||
leftbank | 0 | 4,040,331,760 | 20% | ||
netofsayt | 0 | 255,311,021 | 100% | ||
ium | 0 | 1,160,502,353 | 100% | ||
sanzuwu | 0 | 169,744,262 | 100% |

author | arahim95 |
---|---|
permlink | re-oflyhigh-python-prettytable-20171224t190714221z |
category | python |
json_metadata | {"tags":["python"],"image":["https://steemitimages.com/DQmd3hqHnFTaPgPN8n1TynLcDqcV3fchMfRyeip1BZT9u4V/Happy-merry-Christmas-day-wallpaper-downloads-photo-happy-merry-Christmas-wallpaper-download-picture-images-of-happy-Christmas-day-05.jpg"],"app":"steemit/0.1"} |
created | 2017-12-24 19:07:15 |
last_update | 2017-12-24 19:07:15 |
depth | 1 |
children | 0 |
last_payout | 2017-12-31 19:07:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 353 |
author_reputation | -6,854,752,636 |
root_title | "Python PrettyTable 模块学习 (格式化打印内容)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 25,064,003 |
net_rshares | 0 |
i dont understand this language but i really appreciate for the hard work . good job
author | basham |
---|---|
permlink | re-oflyhigh-python-prettytable-20171224t142914547z |
category | python |
json_metadata | {"tags":["python"],"app":"steemit/0.1"} |
created | 2017-12-24 14:29:03 |
last_update | 2017-12-24 14:29:03 |
depth | 1 |
children | 0 |
last_payout | 2017-12-31 14:29:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 84 |
author_reputation | 342,488,050,212 |
root_title | "Python PrettyTable 模块学习 (格式化打印内容)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 25,026,367 |
net_rshares | 0 |
嗯,遇到灵异事件时不要轻易放弃,说不定是女神或仙女在招手呢~
author | btcnesw |
---|---|
permlink | re-oflyhigh-python-prettytable-20171225t100709333z |
category | python |
json_metadata | {"tags":["python"],"app":"steemit/0.1"} |
created | 2017-12-25 10:07:12 |
last_update | 2017-12-25 10:07:12 |
depth | 1 |
children | 0 |
last_payout | 2018-01-01 10:07:12 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 30 |
author_reputation | -83,560,842,068 |
root_title | "Python PrettyTable 模块学习 (格式化打印内容)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 25,146,152 |
net_rshares | 0 |
嗯,遇到灵异事件时不要轻易放弃,说不定是女神或仙女在招手呢~
author | coldhair |
---|---|
permlink | re-oflyhigh-python-prettytable-20171224t133607130z |
category | python |
json_metadata | {"tags":["python"],"app":"steemit/0.1"} |
created | 2017-12-24 13:34:18 |
last_update | 2017-12-24 13:34:18 |
depth | 1 |
children | 0 |
last_payout | 2017-12-31 13:34:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 30 |
author_reputation | 34,617,352,014,488 |
root_title | "Python PrettyTable 模块学习 (格式化打印内容)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 25,019,119 |
net_rshares | 0 |
好厉害,这水平可以当黑客啦
author | framethinker |
---|---|
permlink | re-oflyhigh-python-prettytable-20171224t133211297z |
category | python |
json_metadata | {"tags":["python"],"app":"steemit/0.1"} |
created | 2017-12-24 13:32:09 |
last_update | 2017-12-24 13:32:09 |
depth | 1 |
children | 0 |
last_payout | 2017-12-31 13:32:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 13 |
author_reputation | 44,019,981,197 |
root_title | "Python PrettyTable 模块学习 (格式化打印内容)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 25,018,859 |
net_rshares | 98,755,200 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
framethinker | 0 | 98,755,200 | 100% |
“在A.py上修改,然后运行的是B.py” 来握个手
author | leftbank |
---|---|
permlink | re-oflyhigh-python-prettytable-20171224t135053505z |
category | python |
json_metadata | {"tags":["python"],"app":"steemit/0.1"} |
created | 2017-12-24 13:50:54 |
last_update | 2017-12-24 13:50:54 |
depth | 1 |
children | 0 |
last_payout | 2017-12-31 13:50:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.104 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 26 |
author_reputation | 55,043,916,818,247 |
root_title | "Python PrettyTable 模块学习 (格式化打印内容)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 25,021,285 |
net_rshares | 19,655,668,025 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
leftbank | 0 | 19,655,668,025 | 100% |
遇到靈異事件,我通常都會先暈一會兒~
author | lydiachan |
---|---|
permlink | re-oflyhigh-python-prettytable-20171225t101330797z |
category | python |
json_metadata | {"tags":["python"],"app":"steemit/0.1"} |
created | 2017-12-25 10:13:30 |
last_update | 2017-12-25 10:13:30 |
depth | 1 |
children | 0 |
last_payout | 2018-01-01 10:13:30 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 18 |
author_reputation | 38,600,108,764,289 |
root_title | "Python PrettyTable 模块学习 (格式化打印内容)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 25,146,812 |
net_rshares | 0 |
@oflyhigh please translate to English version too, want to know about this. Thanks. Merry Xmas!
author | polaleye50 |
---|---|
permlink | re-oflyhigh-python-prettytable-20171224t131603900z |
category | python |
json_metadata | {"tags":["python"],"users":["oflyhigh"],"app":"steemit/0.1"} |
created | 2017-12-24 13:16:09 |
last_update | 2017-12-24 13:16:09 |
depth | 1 |
children | 0 |
last_payout | 2017-12-31 13:16:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.026 HBD |
curator_payout_value | 0.005 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 98 |
author_reputation | 15,726,060,928,290 |
root_title | "Python PrettyTable 模块学习 (格式化打印内容)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 25,016,704 |
net_rshares | 6,317,077,251 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
polaleye50 | 0 | 3,700,714,397 | 100% | ||
travelguide | 0 | 2,616,362,854 | 100% |
看着好复杂
author | sanzuwu |
---|---|
permlink | re-oflyhigh-python-prettytable-20171226t041658913z |
category | python |
json_metadata | {"tags":["python"],"app":"steemit/0.1"} |
created | 2017-12-26 04:16:51 |
last_update | 2017-12-26 04:16:51 |
depth | 1 |
children | 0 |
last_payout | 2018-01-02 04:16:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 5 |
author_reputation | 198,441,001,337 |
root_title | "Python PrettyTable 模块学习 (格式化打印内容)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 25,269,155 |
net_rshares | 0 |
is it binary ???
author | thetravel13 |
---|---|
permlink | re-oflyhigh-python-prettytable-20171224t125508739z |
category | python |
json_metadata | {"tags":["python"],"app":"steemit/0.1"} |
created | 2017-12-24 12:55:09 |
last_update | 2017-12-24 12:55:09 |
depth | 1 |
children | 0 |
last_payout | 2017-12-31 12:55:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 16 |
author_reputation | 50,771,046,881 |
root_title | "Python PrettyTable 模块学习 (格式化打印内容)" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 0 |
post_id | 25,014,069 |
net_rshares | 0 |