This should give a good ides on how to get access to your turbogears
data outside of a turbogears app:

http://docs.turbogears.org/1.0/ModelOutsideTG

And before that, you're probably going to want to add the directory
your turbogears app lives inside to your python path, you can
accomplish that by something along the lines of:

import sys
sys.path.append("/path/to/your/tubogears/thing")

On May 23, 11:41 pm, SamDonaldson <[EMAIL PROTECTED]> wrote:
> Hello, I'm trying to start an independent batch job in turbogrears in
> a separate directory but I got a module not found error.  Do I need to
> do some extra turbogear initialization or some extra imports?  I'm
> running the job as such:  python job.py so I"m assuming it needs to
> connect o turbogear or include some libraries somehow?
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to