Guest User

Untitled

a guest
Apr 23rd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. #!/usr/bin/python
  2.  
  3. import sys
  4. import os
  5. import subprocess
  6.  
  7. for file in sys.argv[1:]:
  8.     fullfile = os.getcwd()+'/'+file
  9.     print 'Converting file ' + fullfile
  10.     subprocess.call (['/usr/bin/epstopdf',  fullfile], shell=False)
Add Comment
Please, Sign In to add comment