Thanks, that helped.
but now i'm getting a new error.
<type 'exceptions.ImportError'>: Could not find module
scripts1.helloworld2
here is a listing of my scripts1 directory
C:\helloworld\scripts1>dir
Volume in drive C has no label.
Volume Serial Number is 6806-ABBD
Directory of C:\helloworld\scripts1
11/03/2008 05:18 PM <DIR> .
11/03/2008 05:18 PM <DIR> ..
11/03/2008 05:19 PM 1,652 helloworld2.py
11/03/2008 02:53 PM 784 index.html
2 File(s) 2,436 bytes
2 Dir(s) 26,538,364,928 bytes free
C:\helloworld\scripts1>
any other clues would be greatly appreciated
On Nov 3, 5:10 pm, shday <[EMAIL PROTECTED]> wrote:
> try:
>
> - url: /scripts1/
> script: scripts1/helloworld2.py
>
> or
>
> - url: /scripts1/index.html
> script: scripts1/helloworld2.py
>
> Steve
>
> On Nov 3, 1:08 pm, Toney <[EMAIL PROTECTED]> wrote:
>
> > I'm on day 3 of playing with python, I have the helloworld
> > application running.
>
> > I'm trying to figure out how to call different scripts from different
> > directory's. I think the solution is in the app.yaml but I can not
> > get it to work after reading the tutorial several times and the
> > "Configuring an App" document also.
>
> > I created a folder called 'scripts1' and copied the helloworld.py and
> > index.html file into the folder, changed my app.yaml handlers to what
> > you see below. I get....
> > "HTTP 404 - File not found"
> > when I try to open.http://localhost:8080/scripts1/index.html
>
> > Can anyone tell me what I may be doing wrong.
>
> > Here is a copy of my app.yaml
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > application: helloworld
> > version: 1
> > runtime: python
> > api_version: 1
>
> > handlers:
> > - url: /stylesheets
> > static_dir: stylesheets
>
> > - url: /html
> > static_dir: html
>
> > - url: /images
> > static_dir: images
>
> > - url: /
> > script: helloworld.py
>
> > - url: /scripts1
> > script: helloworld2.py
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---