If you use ipython you can do tg-admin shell <script> atleast. dont
know if it works in the standard shell
On 3/21/07, Ram Yalamanchili <[EMAIL PROTECTED]> wrote:
>
> Hey,
>
> I would like to run my own scripts for example to populate my database
> with fake information, etc. for testing. This I could do thru some db
> sql but i would rather prefer writing a python script whith just calls
> the functions and objects in my model/TG project.
>
> Anyone know how i can make my script run in a TG context? just like
> how tg-admin shell is running?
>
> thanks.
> Ram
>
> >
>
--
cheers
elvelind grandin
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---