Home
Sign Up
Sign In
推荐学习书目
›
Learn Python the Hard Way
Python Sites
›
PyPI
- Python Package Index
›
http://diveintopython.org/toc/index.html
›
Pocoo
值得关注的项目
›
PyPy
›
Celery
›
Jinja2
›
Read the Docs
›
gevent
›
pyenv
›
virtualenv
›
Stackless Python
›
Beautiful Soup
›
结巴中文分词
›
Green Unicorn
›
Sentry
›
Shovel
›
Pyflakes
›
pytest
Python 编程
›
pep8 Checker
Styles
›
PEP 8
›
Google Python Style Guide
›
Code Style from The Hitchhiker's Guide
V2EX
›
Python
请教关于 pywebio 的 table 问题
oakcdrom
·
Apr 3, 2022
· 3195 views
This topic created in 1541 days ago, the information mentioned may be changed or developed.
请教各位大佬,有谁对 pywebio 比较熟悉,我想循环输出列表里的数据
现在输出结果如下:
请问如何能让列表里的数据,都在一行里显示呀??
pywebio
请教
列表
table
5 replies
•
2022-04-04 07:39:59 +08:00
1
ec0
Apr 3, 2022
把 [list] 改成 *[[i] for i in list] ?
2
oakcdrom
OP
Apr 3, 2022
@
ec0

非常感谢。。。现在是一列了,请问怎么改成,都在一行里面显示呀。
3
SenLief
Apr 3, 2022
1
put_table(tdata=[['ipv6address', ':'.join(list)]])
是这个意思的?
4
ec0
Apr 3, 2022
把 [list] 改成 list ?
5
oakcdrom
OP
Apr 4, 2022
@
SenLief
非常感谢大佬解答,已投币~~
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
3840 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 56ms ·
UTC 04:18
·
PVG 12:18
·
LAX 21:18
·
JFK 00:18
♥ Do have faith in what you're doing.
❯