Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
F
fund_report
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
彭熊
fund_report
Commits
148c8e8d
Commit
148c8e8d
authored
Nov 23, 2020
by
pengxiong@wealthgrow.cn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
月度回报表现图
贡献分解图 个基点评图 组合对比图
parent
3ea6cf3d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
193 additions
and
26 deletions
+193
-26
draw.py
app/utils/draw.py
+190
-23
html_to_pdf.py
app/utils/html_to_pdf.py
+3
-3
No files found.
app/utils/draw.py
View file @
148c8e8d
This diff is collapsed.
Click to expand it.
app/utils/html_to_pdf.py
View file @
148c8e8d
...
...
@@ -24,9 +24,9 @@ def html_to_pdf():
}
url1
=
'http://www.qimontech.com'
# url = 'http://baidu.com'
# url2 = 'https://www.cnblogs.com/zzb-yp/p/11512616.html
'
#
pdfkit.from_url(url1, '/Users/pengxiong/Desktop/out5.pdf', options=options)
pdfkit
.
from_file
(
'/Users/pengxiong/Desktop/monthReport.html'
,
'/Users/pengxiong/Desktop/out5.pdf'
,
options
=
options
)
url2
=
'https://manage.meerkat.top
'
pdfkit
.
from_url
(
url1
,
'/Users/pengxiong/Desktop/out5.pdf'
,
options
=
options
)
#
pdfkit.from_file('/Users/pengxiong/Desktop/monthReport.html', '/Users/pengxiong/Desktop/out5.pdf', options=options)
def
merge_pdf
(
pdfFiles
,
target_file
=
'/Users/pengxiong/Desktop/combine.pdf'
):
""""""
merger
=
PdfFileMerger
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment