- BoxXbase = 5.89
- if pins == 24:
- sys.stderr.write('There is no 24 pin latching version!\n')
- sys.exit(1)
-
-print '# author: Bdale Garbee'
-print '# email: bdale@gag.com'
-print '# dist-license: GPL 2'
-print '# use-license: unlimited'
-
-print 'Element[0x0 "MicroMatch%i"' % pins,'"" "" 0 0 0 0 0 100 0x0]'
-print "("
-for col in range ((pins+1)/2):
+ BoxXbase = 5.89
+ if pins == 24:
+ sys.stderr.write('There is no 24 pin latching version!\n')
+ sys.exit(1)
+
+print('# author: Bdale Garbee')
+print('# email: bdale@gag.com')
+print('# dist-license: GPL 2')
+print('# use-license: unlimited')
+
+print('Element[0x0 "MicroMatch%i"' % pins,'"" "" 0 0 0 0 0 100 0x0]')
+print("(")
+for col in range (int((pins+1)/2)):