-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Corrected mistake: download _new_ white papers not the 2013 ones
- Loading branch information
1 parent
749d14f
commit f3ddd0c
Showing
4 changed files
with
31 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -153,3 +153,4 @@ cython_debug/ | |
*.pxd | ||
.DS_Store | ||
*.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
from PyPDF2 import PdfMerger, PdfReader | ||
import glob | ||
|
||
mergedObject = PdfMerger() | ||
filenames = glob.glob("white_papers/*.pdf") | ||
|
||
for file in filenames: | ||
mergedObject.append(PdfReader(file, 'rb')) | ||
|
||
mergedObject.write("All Decadal White Papers.pdf") |