Re: C pointers/Python

2005-03-21 Thread Marcin Mika
agreed. you might say i was trying to translate his C code "word for word", rather than properly "pythonizing" the entire chunk of code as a whole. -- http://mail.python.org/mailman/listinfo/python-list

Re: C pointers/Python

2005-03-21 Thread Marcin Mika
> Can i do something like this? > > if code == CODE1: > data = 0x0 > While True: > len = len - 1 > if len == -1: > break > buffer = data certainly not! there are many things wrong with that. first of all, as was pointed out already: this is highly u

Re: Python for a 10-14 years old?

2005-03-23 Thread Marcin Mika
you may want to introduce her to programming competitions, which will provide her with a very strong foundation of algorithm design and programming techniques. http://oldweb.uwp.edu/academic/mathematics/usaco/ > I am blessed with a *very* gifted nine-years old daughter for whom I > have recently