Skip to content

Instantly share code, notes, and snippets.

@pshriwise
Created January 21, 2024 05:26
Show Gist options
  • Save pshriwise/87df7fbad525d4cb2cee865829e0964f to your computer and use it in GitHub Desktop.
Save pshriwise/87df7fbad525d4cb2cee865829e0964f to your computer and use it in GitHub Desktop.
Generate a URL for PDF export of a Google slide deck
import sys
template = 'https://docs.google.com/presentation/d/{}/export/pdf'
document_id = sys.argv[1]
print(template.format(document_id))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment