Hi-
I'm not sure how that would help. I'm probably just not following your logic but here is what I'm try to do with some examples:
It is simple I think - just combine listing a bunch of pdfs from a folder and appending those pdfs in the list to a new single pdf.
Here is the first part:
import arcpy
# Set the workspace.
arcpy.env.workspace = r"C:\output"
# List all of the pdf files in the output folder.
# pdfList is a Python List returned from the ListFiles function.
pdfList = arcpy.ListFiles("*.pdf")
# Iterate through the fields and print the name of each
# field to the Interactive Window.
for pdf in pdfList:
print pdf
and here is the second part:
import arcpy, os
#Set file name and remove if it already exists
pdfPath = r"C:\output\TimeSeries.pdf"
if os.path.exists(pdfPath):
os.remove(pdfPath)
#Create the file and append pages
pdfDoc = arcpy.mapping.PDFDocumentCreate(pdfPath)
pdfDoc.appendPages(r"C:\output\1991.pdf")
pdfDoc.appendPages(r"C:\output\1992.pdf")
pdfDoc.appendPages(r"C:\output\1993.pdf")
pdfDoc.appendPages(r"C:\output\1994.pdf")
pdfDoc.appendPages(r"C:\output\1995.pdf")
#Commit changes and delete variable reference
pdfDoc.saveAndClose()
del pdfDoc