Hi Daniel,

To avoid problems you could vendor the ipython file you require, but an
easier solution may just be to implement your own version of the class
(it's extreemly easy):

class struct():
  def __init__(self, *args, **kwargs):
    for k, v in kwargs.items():
      setattr(self, k, v)

mystruct = struct(echo = 1,
                  verb = 'Verbose',
                  filedir = 'C:/temp')

print mystruct.filedir

Regards,
Jordan

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

Reply via email to