Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/18.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/database/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 3.x 用Python生成数据库报告_Python 3.x_Database_Reporting - Fatal编程技术网

Python 3.x 用Python生成数据库报告

Python 3.x 用Python生成数据库报告,python-3.x,database,reporting,Python 3.x,Database,Reporting,我一直在尝试从Postgres数据库表生成PDF格式的报告,但没有成功。请注意,我对Python完全陌生 表名为“注册”。它有4个字段:姓名、用户名、密码、手机 我需要生成具有以下设计的报告: Name Username Password Mobile ---------------------------------------- ( list of user records will print here ) 实现这一结果的最佳实践是什么 你看过reportlab库了

我一直在尝试从Postgres数据库表生成PDF格式的报告,但没有成功。请注意,我对Python完全陌生

表名为“注册”。它有4个字段:姓名、用户名、密码、手机

我需要生成具有以下设计的报告:

Name     Username     Password    Mobile
----------------------------------------
( list of user records will print here )

实现这一结果的最佳实践是什么

你看过reportlab库了吗?我对此并不满意,尽管它在某种程度上运行得相当好


法比奥

你看过reportlab库了吗?我对此并不满意,尽管它在某种程度上运行得相当好

法比奥