blob: 674813bbcff57c5811944753da908b068e6c401d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/env python
import sys
sys.path.append('embroidermodder/experimental/python/binding')
from libembroidery import *
formatList = embFormatList_create()
curFormat = formatList
while(curFormat):
extension = embFormat_extension(curFormat)
description = embFormat_description(curFormat)
writerState = embFormat_writerState(curFormat)
if writerState.strip() and embFormat_type(curFormat) != EMBFORMAT_OBJECTONLY:
print '<_option value="%s">%s(%s)</_option>' % (extension[1:], description, extension.upper())
curFormat = curFormat.next
|