รวมมอดูลที่น่าสนใจ
$ vi dfont.py
... def stack_format(stacklist): def flush(newlist, templist, ind, cur_ind): if ind == 0: newlist.append('NPUSHB') else: newlist.append('NPUSHW') newlist.append(' %s' % len(templist)) newlist.extend(templist) return newlist, [], cur_ind if len(stacklist)==0: return [] n = 0 newlist = [] templist = []
$ touch dfont.py; chmod 755 dfont.py; vi dfont.py
#!/usr/bin/env python import sys # ins_dict = { "COMMAND" : ("Description",pops,push), ... } # pops,push: 0=NOOP, 1=1BYTE, 2=2BYTE, ... # -1=FIRST BYTE IS ONE BYTE COUNTER, # -2=FIRST BYTE IS TWO BYTE COUNTER,
/usr/lib/python2.X/sgmllib.py
There are currently 0 users online.
Recent comments