Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Users
need help importing python class into zope 2.11.2
 

Index | Next | Previous | View Flat


Dganit.D at puresight

May 10, 2009, 5:48 AM


Views: 524
Permalink
need help importing python class into zope 2.11.2

HI



I'm new to zope and python, I wrote some basic python class and a test
program using this class.

The script is working fine when running python from command line.



Now I want to uses this class inside zope,

I tried to create the script, but it failed with the following error.

Line 5: "__init__" is an invalid variable name because it starts with
"_"



Can I write a constructor with different name?

Please advice what is the correct why to import this class to zope





Thanks Dganit

Subject User Time
need help importing python class into zope 2.11.2 Dganit.D at puresight May 10, 2009, 5:48 AM
    Re: need help importing python class into zope 2.11.2 lists at zopyx May 10, 2009, 5:55 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.