I have a controller called "foo" in a file that is imported into my controllers.py.
Foo needs access to a function "bar" defined in controllers.py. The function is not part of any class, it just stands by itself. How can I get to "bar" from "foo". I imagine it's something like: import __main__ __main__.controllers.foo() But that doesn't work...still something like that must be correct. This is in TG 1.0.8. Thanks Sam --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

