In this presentation from Google I/O, it's recommended that you load modules as you use them, rather than at the top of the file. http://sites.google.com/site/io/building-scalable-web-applications-with-google-app-engine
See slide 4 or watch the video. Cheers, Tom 2008/9/3 Kyle Jensen <[EMAIL PROTECTED]> > > > Where should 'import' statements be located? Ie. > 1) at the top of the file, or > 2) in a function that requires the particular module? > > If its #2 -- what are the implications for import caching on GAE? > > (This is somewhat related to my other post: > http://groups.google.com/group/google-appengine/t/d7d85f78df6fc00 > about long request times after the app has *presumably* been cleared > from the cache.) > > Sincerely, > Kyle > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---