egg converter app for Mac

I made a tiny little program that makes my life easier and I’m putting it here in the off chance it helps someone else.

It uses rdb’s dae2egg program, obviously. He did all the hard work and gets all the credit for being awesome. This app is just 4 lines of python.

import sys
import subprocess
for f in sys.argv[1:]:
    if f[-4:] == ".dae": subprocess.Popen(["/Developer/Tools/Panda3D/dae2egg", "-o",
    "{0}.egg".format(f.split(".dae")[0]), f])