fun programming competition

2005-03-21 Thread integer
http://dinsights.com/POTM/KEYSTROKES/details.php

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: C pointers/Python

2005-03-21 Thread integer
you never deal directly with pointers in python.
in your case, you need to pass a mutable object as your 'buffer'
argument and perform operations on it such that 'buffer==data'. (for
example, you could use a list here.)
def testit( buffer ):
   for i in range( len ):
  buffer[A+i]=data[B+i]
for some constants A,B

-- 
http://mail.python.org/mailman/listinfo/python-list