Hello Philippe,

I am running under ubuntu. GAE supports python 2.5 not 2.7. I don't
know if this is the best or easiest way, but its the way I do it.

To up/down load data I followed: 
http://code.google.com/appengine/docs/python/tools/uploadingdata.html

To configure the bulkloader.yaml I run:

$ ppcfg.py create_bulkloader_config <your-app-name> --
filename=bulkloader.yaml

It does most the magic but you have to make a few changes, like what
kind of output. Edit the file bulkloader.yaml, adding at least:
  - kind: YourKindName
      connector: csv

Also add to the app.yaml file
  builtins:
  - remote_api: on

Now upload or download the command is long, I use python2.5, so...

$ python2.5 ../google_appengine/appcfg.py upload_data
    --config_file=bulkloader.yaml
    --application=<app-name>
    --filename=YourKindName.csv
    --kind=YourKindName
    --url=http://<app-name>.appspot.com/_ah/remote_api
    --batch_size=100

good luck!
-rob

On Jan 30, 2:04 am, Philippe REGALL <philippe.reg...@gmail.com> wrote:
> Hello,
>
> I am trying to upload a simple CSV file (2 column: tag, value, 7000
> lines) into my datastore google app engine using the bulkloader.
> I read the topic 
> at:http://code.google.com/intl/fr-FR/appengine/docs/python/tools/uploadi...
>
> My questions are :
>
> - how and where to use the python command "create_bulkloader_config --
> filename=bulkloader.yaml" ?
> => In python command line ?
> => In my main.py and then deploy ?
>
> - where do I get the file bulkloader.yaml" generated ?
> => on my local disc ? on the api remote path ? how to catch it ?
>
> This is certainly basic questions but I am not a python programmer, I
> need a step by step explanation.
>
> I am a Google App inventor user who set up a customtinywebdb serivce
> using the code provided 
> athttp://appinventor.googlelabs.com/learn/reference/other/tinywebdb.html.
> I use Google app engine launcher, Python 2.7 on Windows.
>
> Thanks in advance ! (I am blocked at this point of my development).
>
> Philippe REGALL

-- 
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 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to