- Timestamp:
- 27 Jul 2007, 06:55:39 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/ScratchCards.py
r1571 r2063 117 117 ri = r.randint(1000000000,9999999999) 118 118 pin = "%s%d%d" % (prefix,b_no,ri) 119 pins.addRecord(pin=pin,serial=i,student="",prefix_batch="%s%d" % (prefix, b_no)) 119 pins.addRecord(pin=pin, 120 serial=i, 121 student="", 122 cost = cost, 123 prefix_batch="%s%d" % (prefix, b_no)) 120 124 generated.append('"%(i)d","%(prefix)s-%(b_no)d-%(ri)d"' % vars()) 121 125 print '\n'.join(generated)
Note: See TracChangeset for help on using the changeset viewer.