Using Python to Export all MXD's in a Directory

Discussion created by jiphoc on Feb 24, 2013
Latest reply on Oct 13, 2015 by cpoynter
I was just wondering if anyone knew how I could use Python to open and export all *.mxd documents in a directory (as a pdf). At the moment I can open specific *.mxd documents and export them. If I could have a code however that looks in a directory and could open all the files within it and export all the maps it would save me a lot of time.