On Mon, Sep 28, 2009 at 11:11 AM, djidjadji <[email protected]> wrote:

>
> Why does dev_appserver create the .pyc files then?
>

The Python runtime does this.


>
> Is it possible to let dev_appserver delete all the .pyc files at
> startup that are in the application directory tree?
>

It would be possible - but to what end? The dev_appserver already ignores
them, and appcfg doesn't upload them.

-Nick Johnson


>
> 2009/9/28 Nick Johnson (Google) <[email protected]>:
> > Hi Allen,
> > No, you must use .py files to serve your app. The dev_appserver is
> designed
> > to replicate the production environment, and the production environment
> > ignores .pyc files.
> > -Nick Johnson
> >
> > On Sat, Sep 26, 2009 at 12:53 PM, Allen <[email protected]> wrote:
> >>
> >> When I  run the application locally by dev_appserver.py, can I use
> >> only .pyc files?
> >>
> >> I try it . but following come up:
> >>
> >> WARNING 2009-09-26 03:33:23,937 dev_appserver.py:1027] Bloking access
> >> to skipped file "mypath\main.pyc"
> >>
> >> How can I make it works, supporting with only .pyc files
> > --
> > Nick Johnson, Developer Programs Engineer, App Engine
> > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration
> Number:
> > 368047
>
> >
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

--~--~---------~--~----~------------~-------~--~----~
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