We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dee5c2d commit 31fe5adCopy full SHA for 31fe5ad
ppt2pdf/ppt2pdf_linux.py
@@ -1,10 +1,11 @@
1
+# import libraries
2
+import os
3
import glob
4
import tqdm
-import os
5
-PATH = "<INPUT FOLDER>"
6
-extension = "pptx"
7
-files = [f for f in glob.glob(PATH + "/**/*.{}".format(extension), recursive=True)]
+PATH="INPUT FOLDER"
+extension="pptx" # or ppt
8
+files = [f for f in glob.glob(PATH+ "/**/*.{}".format(extension), recursive=True)]
9
for f in tqdm.tqdm(files):
10
command = "unoconv -f pdf \"{}\"".format(f)
11
os.system(command)
0 commit comments