Hi,

I want to write a python script which will automate the bulkloading
process by writing a csv file, then running appcfg.py by using a
command like os.system("appcfg.py ... ")

The problem is I am having trouble automating user input when
appcfg.py asks for authentication. I tried writing a text file called
input.txt with the authentication details (it looked like this:
myem...@gmail.com
MyPassword

and then running appcfg.py < input.txt and this worked for the email,
but not for the password. Would it be possible to modify appcfg.py to
take the username and password as arguments, so that I could run the
script like this: appcfg.py username="myem...@gmail.com"
pass="MyPassword" ? Or could I simply hardcode the username/password
in appcfg.py?  What file would I have to modify in order to do this?

Is there any easier way in python to automate user input?

Any help would be appreciated.

Thanks

-- 
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-appeng...@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