On Fri, Jul 31, 2015 at 7:42 PM, Gurdev Seepersaud <
gurdevseepers...@gmail.com> wrote:

> Thanks so much for this answer. I haven't had the time to code lately,
> could you explain how you would go about adding the directory to PYTHONPATH?
>

Depends on your local operating system --  e.g, if it's Windows 7, see the
answer at
http://stackoverflow.com/questions/3701646/how-to-add-to-the-pythonpath-in-windows-7
.


Alex


> Thanks in advance.
>
> On Tue, Jul 21, 2015 at 6:34 PM, 'Alex Martelli' via Google App Engine <
> google-appengine@googlegroups.com> wrote:
>
>> webapp2 is only going to be available for import if the directory it
>> lives on is on sys.path -- appengine should take care of that, but
>> otherwise you can simply add the directory to environment variable
>> PYTHONPATH .
>>
>> Alex
>>
>> On Tue, Jul 21, 2015 at 2:54 PM, Gurdev Seepersaud <
>> gurdevseepers...@gmail.com> wrote:
>>
>>> Ah, thanks! If it wasn't for you I would have kept ignoring the fact
>>> that my python file kept closing right after I opened it. I thought that
>>> was weird but I just ignored it because I thought it would make sense by
>>> the end of the tutorial I was following.
>>>
>>> The problem here seems to be that in the first line of helloworld.py,
>>> there is an error importing webapp2.
>>>
>>> http://imgur.com/FBdhwT4
>>>
>>> Where it says that the system can't find the path specified, I made an
>>> error typing, the second time I tried to run app.yaml, the window on the
>>> right opened.
>>>
>>> I'm not sure how to fix the importing error though, and looking it up
>>> online is making me even more confused. :\ Thanks for your help so far.
>>>
>>> On Mon, Jul 20, 2015 at 4:42 PM, 'Alex Martelli' via Google App Engine <
>>> google-appengine@googlegroups.com> wrote:
>>>
>>>> Can't see anything wrong there (of course I also see nothing confirming
>>>> that the helloworld directory lives in C:\Users\Max\Desktop\ but I
>>>> guess that's likely not the problem).
>>>>
>>>> Can you open a cmd.exe (or however it's called these days) and run a
>>>>
>>>>     dir C:\Users\Max\Desktop\helloworld
>>>>
>>>> so the path is confirmed, and then
>>>>
>>>>    type C:\Users\Max\Desktop\helloworld\helloworld.py
>>>>
>>>> and
>>>>
>>>>    type C:\Users\Max\Desktop\helloworld\app.yaml
>>>>
>>>> just to check if any of these shows problems the GUI might hide?
>>>>
>>>>
>>>> Alex
>>>>
>>>>
>>>>
>>>> On Mon, Jul 20, 2015 at 1:21 PM, Gurdev Seepersaud <
>>>> gurdevseepers...@gmail.com> wrote:
>>>>
>>>>> Sure.
>>>>>
>>>>> http://imgur.com/a/WXkQz
>>>>>
>>>>> I changed the helloworld.py program to a .txt file temporarily so I
>>>>> could show you what I wrote inside it.
>>>>>
>>>>> I appreciate you helping me!
>>>>>
>>>>> On Mon, Jul 20, 2015 at 12:38 PM, 'Alex Martelli' via Google App
>>>>> Engine <google-appengine@googlegroups.com> wrote:
>>>>>
>>>>>> Hard to help without further info. Can you show the full contents of
>>>>>> directory C:\Users\Max\Desktop\helloworld and
>>>>>> files C:\Users\Max\Desktop\helloworld\app.yaml
>>>>>> and C:\Users\Max\Desktop\helloworld\helloworld.py ...?
>>>>>>
>>>>>> Alex
>>>>>>
>>>>>> On Sun, Jul 19, 2015 at 5:06 AM, Gurdev Seepersaud <
>>>>>> gurdevseepers...@gmail.com> wrote:
>>>>>>
>>>>>>> I'm a total newbie here and I'm trying to wrap my head around the
>>>>>>> tutorial for App Engine development using Python. I'm referring to the
>>>>>>> section of the tutorial titled "2. Hello World!":
>>>>>>> https://cloud.google.com/appengine/docs/python/gettingstartedpython27/helloworld
>>>>>>>
>>>>>>> The tutorial says to make a directory titled helloworld, which I
>>>>>>> already did, and placed it on my desktop. The tutorial then says to 
>>>>>>> make a
>>>>>>> file titled app.yaml and helloworld.py and place them in the helloworld
>>>>>>> directory. I made sure that my computer displays file extensions so 
>>>>>>> that I
>>>>>>> know that the files aren't titled app.yaml.txt or helloworld.py.txt.
>>>>>>>
>>>>>>> However, the problem here is that, when I open the App Engine
>>>>>>> Launcher, and choose "Add Existing Application" and then the 
>>>>>>> "helloworld"
>>>>>>> directory, I can't run the file.
>>>>>>>
>>>>>>> And this is what it looks like when I put the application in the
>>>>>>> launcher: http://imgur.com/iCirJeZ
>>>>>>>
>>>>>>> I don't know how to run the file or what's even causing the problem.
>>>>>>> Please help?
>>>>>>>
>>>>>>> Any help would be greatly appreciated. Thanks in advance. :)
>>>>>>>
>>>>>>> --
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups "Google App Engine" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>> send an email to google-appengine+unsubscr...@googlegroups.com.
>>>>>>> To post to this group, send email to
>>>>>>> google-appengine@googlegroups.com.
>>>>>>> Visit this group at http://groups.google.com/group/google-appengine.
>>>>>>> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/google-appengine/e7b42171-6cd8-411e-98a2-6460e146b1a5%40googlegroups.com
>>>>>>> <https://groups.google.com/d/msgid/google-appengine/e7b42171-6cd8-411e-98a2-6460e146b1a5%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>> .
>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to a topic in
>>>>>> the Google Groups "Google App Engine" group.
>>>>>> To unsubscribe from this topic, visit
>>>>>> https://groups.google.com/d/topic/google-appengine/siUfoz1c0Ug/unsubscribe
>>>>>> .
>>>>>> To unsubscribe from this group and all its topics, send an email to
>>>>>> google-appengine+unsubscr...@googlegroups.com.
>>>>>> To post to this group, send email to
>>>>>> google-appengine@googlegroups.com.
>>>>>> Visit this group at http://groups.google.com/group/google-appengine.
>>>>>> To view this discussion on the web visit
>>>>>> https://groups.google.com/d/msgid/google-appengine/CAE46Be99cpVv6gE4_1oKXtpNY19o76_9WQwEkOy8_95ggoe5xg%40mail.gmail.com
>>>>>> <https://groups.google.com/d/msgid/google-appengine/CAE46Be99cpVv6gE4_1oKXtpNY19o76_9WQwEkOy8_95ggoe5xg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> - Gurdev
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Google App Engine" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to google-appengine+unsubscr...@googlegroups.com.
>>>>> To post to this group, send email to google-appengine@googlegroups.com
>>>>> .
>>>>> Visit this group at http://groups.google.com/group/google-appengine.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/google-appengine/CAJ8MRuX0tuP_x0DDPhp_BSLeXFkfXxpmQJrOGdXbpz0o%2BBrSSA%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/google-appengine/CAJ8MRuX0tuP_x0DDPhp_BSLeXFkfXxpmQJrOGdXbpz0o%2BBrSSA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>> --
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "Google App Engine" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/google-appengine/siUfoz1c0Ug/unsubscribe
>>>> .
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> google-appengine+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to google-appengine@googlegroups.com.
>>>> Visit this group at http://groups.google.com/group/google-appengine.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/google-appengine/CAE46Be_GwzF9mBzTvgAT_D1OamGL0pfsxUh7rkADGkuR216zvw%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/google-appengine/CAE46Be_GwzF9mBzTvgAT_D1OamGL0pfsxUh7rkADGkuR216zvw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>> - Gurdev
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google App Engine" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to google-appengine+unsubscr...@googlegroups.com.
>>> To post to this group, send email to google-appengine@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/google-appengine.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-appengine/CAJ8MRuVw9vmBFAXexSL5b6WdBbBCUYqQO3bBE6yTdqrkhWWbhA%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/google-appengine/CAJ8MRuVw9vmBFAXexSL5b6WdBbBCUYqQO3bBE6yTdqrkhWWbhA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Google App Engine" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/google-appengine/siUfoz1c0Ug/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> google-appengine+unsubscr...@googlegroups.com.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> Visit this group at http://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-appengine/CAE46Be_jfcF%3DP-BbBKc4tPa2c9OCZ38CDk3TEJ3A%2BATM6uSFWQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/google-appengine/CAE46Be_jfcF%3DP-BbBKc4tPa2c9OCZ38CDk3TEJ3A%2BATM6uSFWQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> - Gurdev
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/CAJ8MRuXL3QFwes3GghQT3vc9nGza4301qQqjN2y%2BFW%2B72UHS9Q%40mail.gmail.com
> <https://groups.google.com/d/msgid/google-appengine/CAJ8MRuXL3QFwes3GghQT3vc9nGza4301qQqjN2y%2BFW%2B72UHS9Q%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAE46Be8SmTkzw32U3a%3DQ3y7TwK4FoXZXXC%2BO84M-NTRiTyO6xQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to