[Zope] newbie: python scripts and records
   
    Alexis Roda
     
    arv@si.urv.es
       
    Thu, 17 Oct 2002 09:49:22 +0200
    
    
  
Hi all,
I'm learning python. If I do:
class Foo:
	pass
bar = Foo()
bar.baz = 1
in order to create a record I get an "attribute-less object" error from
zope, but it works right on the python interpreter.
Is there a way to create records (the same type of record I get from
forms with :record) from a python script?
TIA
Regards
-- 
                                  ////
                                 (@ @)
---------------------------oOO----(_)----OOo------------------------
        Los pecados de los tres mundos desapareceran conmigo.
Alexis Roda - Universitat Rovira i Virgili - Reus, Tarragona (Spain)
--------------------------------------------------------------------