Python scripting the DMX library

Hey guys,

I’m looking for some help on automating the DMX library with python. I can’t seem to figure out how to patch a dmx fixture I have in my level.

also, is there a way to import a patch, and what does that file need to look like?