Discussion:
Split main program
DongInn Kim
2010-11-16 04:05:18 UTC
Permalink
Hi,

Is there any way to split main program(e.g., "controller.py" in tutorial) into several pieces?

I am working on a project with several members in a team.

Everybody in our team needs to work on the same main program (e.g., "controller.py') because it has all the rendering codes for the template.

So, what I am thinking is split controller.py with several modules which have some "def" methods defined and include them in controller.py.

Is it possible? Or any idea?

Regards,
--
- DongInn
--
You received this message because you are subscribed to the Google Groups "Genshi" group.
To post to this group, send email to ***@googlegroups.com.
To unsubscribe from this group, send email to genshi+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/genshi?hl=en.
Simon Cross
2010-11-16 06:49:08 UTC
Permalink
Post by DongInn Kim
Is there any way to split main program(e.g., "controller.py" in tutorial) into
several pieces?
This is more of a CherryPy question than a Genshi question. You can
find some examples of how you might solve your problem in the CherryPy
tutorial. I think the section
http://cherrypy.org/wiki/CherryPyTutorial#Findingthecorrectobject will
be useful.

Schiavo
Simon
--
You received this message because you are subscribed to the Google Groups "Genshi" group.
To post to this group, send email to ***@googlegroups.com.
To unsubscribe from this group, send email to genshi+***@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/genshi?hl=en.
Loading...