This file contains hidden or 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
import math | |
import requests | |
from urllib.parse import quote | |
from urllib.request import urlopen | |
import xml.etree.ElementTree as ET | |
import json | |
class XPLORE: |
This file contains hidden or 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
#!/bin/bash | |
# Converts a double-column PDF to a single-column PDF by extracting | |
# each column separately and then interleaving the pages. | |
# | |
# Usage: | |
# ./2one.sh <input.pdf> <output.pdf> | |
# | |
# Arguments: | |
# input.pdf: The path to the input PDF file. |