Does Python provide "Struct" data structure?
jay graves
jaywgraves at gmail.com
Fri Sep 22 11:02:47 EDT 2006
Daniel Mark wrote:
> I have found a useful module in IPython, named 'from IPython.ipstruct
> import Struct".
> So I can use it as follows:
> ####################################
> from IPython.ipstruct import Struct
>
> mystruct = Struct(echo = 1,
> verb = 'Verbose',
> filedir = 'C:/temp',
> )
>
> print mystruct.filedir
> #####################################
Does 'Bunch' fit the bill?
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52308
...
jay graves
More information about the Python-list
mailing list