"in" for dicts (was: Python 2.1 function attributes)

Nathaniel Gray n8gray at caltech.edu.is.my.email.address
Sat Feb 3 16:08:17 EST 2001


If the resulting code can fit in the 256 KB onboard the Khepera mobile 
robot, I'm there!

-n8

-- 
_.~'^`~._.~'^`~._.~'^`~._.~'^`~._.~'^`~._
             Nathaniel Gray
   California Institute of Technology
     Computation and Neural Systems
     n8gray <at> caltech <dot> edu
_.~'^`~._.~'^`~._.~'^`~._.~'^`~._.~'^`~._

Quinn Dunkan wrote:

> On Fri, 02 Feb 2001 02:43:13 -0800, Nathaniel Gray
> <n8gray at caltech.edu.is.my.e-mail.address> wrote:
> >Anybody know of a good C implementation of dictionaries?  (Other than
> >Python's, that is :^)
> 
> Well, two ideas:
> 
> Say "I use this C library called libpython.a that provides some basic
> facilities.  Oh, and I also use a special notation to call libpython.a
> procedures called 'python'---you should be able to learn the special
> notation
> quicker than the C library interface.  But if you really want to learn the
> C interface, the special notation can be converted with a utility called
> 'Python2C'".
> 
> Or:
> 
> Port your code to eiffel.  It's not quite python, but it should be an
> easier
> port than to C.  Then use SmallEiffel to compile your eiffel to C.  Ok, so
> it won't be the prettiest C in the world, but hey, it's C and that's what
> they
> want, right?  Roll that baby through 'indent' and you're set!
> 
> ;)




More information about the Python-list mailing list