RE: [google-appengine] How to store bytecode in Python 2.7?

2011-10-17 Thread Brandon Wirtz
bject: Re: [google-appengine] How to store bytecode in Python 2.7? Earn a monthly income of $ 7000 by Google Groups Increase income through Google Groups Get $ 20 a day Earn more than $4.00 / 1000 visitors to your links. Get tiny URLs, great for when text space is limited. All advertising is str

Re: [google-appengine] How to store bytecode in Python 2.7?

2011-10-17 Thread gharip gadalla
Earn a monthly income of $ 7000 by Google Groups Increase income through Google Groups Get $ 20 a day Earn more than $4.00 / 1000 visitors to your links. Get tiny URLs, great for when text space is limited. All advertising is strictly family-safe with no popups. Frequent statistics with revenue bre

Re: [google-appengine] How to store bytecode in Python 2.7?

2011-10-16 Thread Sun Jing
Hi Brian, I got it, thank you. -- keakon My blog(Chinese): www.keakon.net Blog source code: https://bitbucket.org/keakon/doodle/ On Sun, Oct 16, 2011 at 6:37 PM, Brian Quinlan wrote: > Hi Sun, > > You can't store anything in the local file system. You can store data > in the datasto

Re: [google-appengine] How to store bytecode in Python 2.7?

2011-10-16 Thread Brian Quinlan
Hi Sun, You can't store anything in the local file system. You can store data in the datastore, memcache, blobstore, etc. With the App Engine Python 2.5 runtime it is *not* possible to execute arbitrary bytecode. Cheers, Brian On Sun, Oct 16, 2011 at 9:30 PM, Sun Jing wrote: > Hi Brian, > So i

Re: [google-appengine] How to store bytecode in Python 2.7?

2011-10-16 Thread Sun Jing
Hi Brian, So it means I can manipulate bytecode, but cannot store it to the file system? I can also generate bytecode in Python 2.5, what has been changed? Thanks for your explain. -- keakon My blog(Chinese): www.keakon.net Blog source code: https://bitbucket.org/keakon/doodle/ On Su

Re: [google-appengine] How to store bytecode in Python 2.7?

2011-10-16 Thread Brian Quinlan
Hi Sun, You are seeing those exceptions because you are trying to write to a file and App Engine does not support writing to the local filesystem. By default, jinja2 uses a memory-backed LRU cache to cache the last 50 accessed templates but you can customize this if you want. See: http://jinja.po

[google-appengine] How to store bytecode in Python 2.7?

2011-10-16 Thread Sun Jing
Hi all, As the documentsays, in Python 2.7, no longer restricts access to Python bytecode. But I tried to compile a source code file, it raised an IOError: [Errno 13] Permission denied: > import os