PDF session/allmypdfsinpostscript.py: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

28 January 2025

  • curprev 15:3515:35, 28 January 2025Manetta talk contribs 615 bytes +615 Created page with "Not done yet! WIP <syntaxhighlight lang="python"> # mypdfs = open("fivepdfs.txt", "r").readlines() mypdfs = open("fivepdfs.txt", "r").read().split("\n") # mypdfs_file = open("fivepdfs.txt", "r") # mypdfs_string = mypdfs_file.read() # mypdfs_list = mypdfs_string.split("\n") print(mypdfs) psfile = open("allmypdfs.ps", "w") ps_top = """ /Times-Roman findfont 30 scalefont setfont 0.5 0.75 0 setrgbcolor 100 100 moveto """ psfile.write(ps_top) for pdf in mypdfs: fil..."