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

  • SEARCH
  • Home
  • 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 8813507
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T03:52:08+00:00 2026-06-14T03:52:08+00:00

I get this error while trying to open a txt. file. Please tell how

  • 0

I get this error while trying to open a txt. file. Please tell how to fix it .

code: subprocess.Popen("/home/yash/Documents/ct.txt")
      time.sleep(1)
error: 
     Traceback (most recent call last):
     File "/home/yash/Documents/final_downloader22.py", line 5, in <module>
     subprocess.Popen("/home/yash/Documents/ct.txt")
     File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
     errread, errwrite)
     File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
     raise child_exception
     OSError: [Errno 13] Permission denied
  • 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-14T03:52:09+00:00Added an answer on June 14, 2026 at 3:52 am

    Text files are normally not executable. What do you mean with "open" here?

    1. This could mean "open it so that I can use it in the program".

      This works with file_object = open('/home/yash/Documents/ct.txt', 'r') and then using that file_object.

    2. This as well could mean "let the file type’s associated application open the file so that the user can edit it".

      In this case, you would have to find out what the associated application is. How you do this is dependent on the OS you use as well as the window manager/desktop environment. It cannot be answered in a few short sentences.

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

Sidebar

Related Questions

I get this error, while I'm testing the code below: You have an error
I keep getting this writing to a closed file error while trying to compile
I get this error while accessing a php script: W/System.err: Error reading from ./org/apache/harmony/awt/www/content/text/html.class
Every once and a while I get this error in IE when making an
While consuming SOAP service, I am getting this error. I just dun get it
I get this error when I run the code below. I have normally used
i get this error Cannot open database DataLayer.Context.MedicallexiconContext requested by the login. The login
I get an syntax error while trying to INSERT some values to Mysql from
I'm trying to compile some code. Here is the error I'm getting: error while
I'm trying to feed a listview with a custom cursorAdapter. I get this error

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.