Python On Custom sort a list of words

by jaredgrubb, December 14, 2007 21:57

(ugh, my ancient BASIC back...

848e7681373328946b4b7ccb3a537627 Talk
1
2
3
  if a_i!=b_i then:
    return cmp(a_i, b_i)
  return my_cmp(a[1:], b[1:])

Python On Custom sort a list of words

by jaredgrubb, December 14, 2007 21:56

As for the difference betwe...

848e7681373328946b4b7ccb3a537627 Talk
1
2
3
4
def my_cmp(a, b):
  global alphabet

...

Python On Custom sort a list of words

by jaredgrubb, December 11, 2007 04:24

You can use the sort() meth...

848e7681373328946b4b7ccb3a537627 Talk

Python On .ini file parser

by jaredgrubb, November 17, 2007 18:34

If what you're looking for ...

848e7681373328946b4b7ccb3a537627 Talk

Python On .ini file parser

by jaredgrubb, November 11, 2007 20:50

I know this may not be the ...

848e7681373328946b4b7ccb3a537627 Talk

C On Stack Implementation

by jaredgrubb, November 03, 2007 04:48

A few comments: your push/p...

848e7681373328946b4b7ccb3a537627 Talk

C On Character buffer manipulati...

by jaredgrubb, October 29, 2007 15:44

A comment on Andy Lester's ...

848e7681373328946b4b7ccb3a537627 Talk