On Mon, Nov 9, 2009 at 2:32 PM, deostroll <[email protected]> wrote:
>
> I'd want to have a secondary python script file just for containing
> all logic and returning data to my main script file (say main.py). In
> other words, I want to call a function getData() in my main file...but
> I want to define the logic for getData in the second script file
> instead of traditionally doing it in my main file...is this possible?

Standard Python stuff, nothing to do with GAE.

Just define your getData function in another py file named whateverYouWant.py.
Then from your main.py just:
import getData from whateverYouWant

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to