Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9242023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T08:29:37+00:00 2026-06-18T08:29:37+00:00

My project structure looks like flask-appengine-template/ docs/ licenses/ src/ application/ static/ templates/ models.py settings.py

  • 0

My project structure looks like

flask-appengine-template/
                        docs/
                        licenses/
                        src/
                            application/
                                        static/
                                        templates/
                                        models.py
                                        settings.py
                                        urls.py
                                        views.py
                                        english.txt
                        libs/
                            bs4/
                         app.yaml
                         src.py

in my views.py, I have a function that reads the file english.txt

      for words in open('english.txt', 'r').readlines():
            stopwords.append(words.strip())

When I run this on local environment, I see error in logs as

(<type 'exceptions.IOError'>, IOError(13, 'file not accessible'), <traceback object at 0x10c457560>)

How do I read this file in Google App Engine?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T08:29:39+00:00Added an answer on June 18, 2026 at 8:29 am

    If english.txt is just a list of words, I suggest converting the list of words to a python list, so you can just import it.

    If english.txt has more complex data, move it to bigtable or other database available to your app.

    AppEngine is a very crippled environment compared to a standard VPS, I tend to avoid functions that operates over the underlying OS like open().

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My site structure looks like this: project --apps ----app1 ----app2 --docs --templates ----module1 ----module2
When applying a multi-project Gradle structure to our project, my settings.gradle looks like this:
My directory structure looks like the following: project/ app1/ app2/ settings.py From within the
My project structure looks like this: src -- class library 1 -- class library
Part of my project directory structure looks like: \projects\project\main.R \projects\project\src where \src contains a
My Java project structure in Eclipse looks like this: myproject src/main/java com.mypackage.mysubpackage1 com.mypackage.mysubpackage2 com.mypackage.mysubpackage3
My project Structure looks like this: myApp -->WCFSerLib (Any CPU Deafult application) -->ClassLib1 (Any
Is this possible in any way? My project folder structure looks like this: my_project:
I have a project structure like: src/CMakeLists.txt src/test/component1/CMakeLists.txt src/test/component2/CMakeLists.txt For the testing, I'm using
My compass project directory structure looks like this s3z@s3z:~/Desktop/compass_project$ tree . ├── basic.html ├──

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.