Re: Downloading Source Code

71 views
Skip to first unread message

Joakim

unread,
Oct 24, 2012, 5:55:17 AM10/24/12
to google-a...@googlegroups.com
Hi Janika,
If the Python appcfg utility works the same as the Java one, the options go before the action, so it should be something like this:
appcfg.py -A apageaboutturtles -V 1 download_app C:\Users\*****\Desktop

Also, I'd suggest learning to work with version control, rather than using dropbox or google drive. Bitbucket.org offers free hosting for private projects.

On Wednesday, October 24, 2012 7:10:31 AM UTC+2, Janika Humphries wrote:
Hi people, I know this is somewhat of a controversial topic, but being the brand new developer that I am, I've lost my source code and have no backups of it.

I'd like to use the Python SDK command line tool to download it, but running appcfg.py download_app -A <apageaboutturtles> -V <1> <C:\users\*****\desktop>  gives syntax errors

I have tried removing the brackets, and I've also tried some of the other commands in the help page, which all also return syntax errors. The little syntax error arrow (it looks like ^) appears under the last letter of download_app. Does that shed any light on the problem?

Whether I recover my data or not I will be taking a lesson from this, and have signed up for dropbox!  

Julie Smith

unread,
Oct 24, 2012, 7:38:37 AM10/24/12
to google-a...@googlegroups.com
Hi Janika,

It sounds like you may be running the command from the Python command prompt.

The appcfg.py command is designed to be run from a normal Windows commnand prompt (cmd.exe).

The syntax is indeed used without the angle brackets;
appcfg.py download_app -A apageaboutturtles -V 1 c:\users\me\desktop\source_folder

Regards,

Julie

On 24 October 2012 16:10, Janika Humphries <janik...@gmail.com> wrote:
Hi people, I know this is somewhat of a controversial topic, but being the brand new developer that I am, I've lost my source code and have no backups of it.

I'd like to use the Python SDK command line tool to download it, but running appcfg.py download_app -A <apageaboutturtles> -V <1> <C:\users\*****\desktop>  gives syntax errors

I have tried removing the brackets, and I've also tried some of the other commands in the help page, which all also return syntax errors. The little syntax error arrow (it looks like ^) appears under the last letter of download_app. Does that shed any light on the problem?

Whether I recover my data or not I will be taking a lesson from this, and have signed up for dropbox!  

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/FhkRsV775CkJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
0 new messages