On 10/10/07, Kevin <[EMAIL PROTECTED]> wrote:
> Am I missing something, or am I the only one who explicitly declares
> structs in python?
> For example:
> FileObject = {
>     "filename" : None,
>     "path" : None,
>     }
>
> fobj = FileObject.copy()
> fobj["filename"] = "passwd"
> fobj["path"] = "/etc/"


I am pretty new to python, but isn't that just a dictionary?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to