I was able to figure this out by simply passing commands to the terminal via os.system ():
build = '''convert -delay 30 -size 500x500 \ -page +0+0 /Users/jkeilson/desktop/photobooth/flower.jpg \ -page +0+0 /Users/jkeilson/desktop/photobooth/wizard2.gif \ -page +0+0 /Users/jkeilson/desktop/photobooth/flower.jpg \ -page +0+0 /Users/jkeilson/desktop/photobooth/wizard2.gif \ -loop 0 animation6.gif''' os.system(build)
source share