Surely there is some kind of abstraction that allows for this?
This is essentially the command
cmd = self._ghostscriptPath + 'gswin32c -q -dNOPAUSE -dBATCH -sDEVICE=tiffg4 -r196X204 -sPAPERSIZE=a4 -sOutputFile='' + tifDest + ' ' + pdfSource + ''' os.popen(cmd)
this way looks really dirty to me, there must be some pythonic way
Use subprocess, it superseeds os.popen, though it is not much more of an abstraction:
If you have only python 2.3 which has no subprocess module, you can still use os.popen