That is not a valid file path. You must either use a full path
open(r"C:\description_files\program_description.txt","r")
Or a relative path
open("program_description.txt","r")
More Related Contents:
- Tkinter understanding mainloop
- Loop through all nested dictionary values?
- python list by value not by reference [duplicate]
- matplotlib: can I create AxesSubplot objects, then add them to a Figure instance?
- I can’t install pyaudio on Windows? How to solve “error: Microsoft Visual C++ 14.0 is required.”?
- Nested arguments not compiling
- Creating a dynamic choice field
- Read file from line 2 or skip header row
- Python Image Library fails with message “decoder JPEG not available” – PIL
- What are some good Python ORM solutions? [closed]
- Calculate average of every x rows in a table and create new table
- How to move pandas data from index to column after multiple groupby
- Can I move a virtualenv?
- Python: HTTP Post a large file with streaming
- Run PowerShell function from Python script
- How to create Python egg file
- How to extract PDF fields from a filled out form in Python?
- PyQt QListWidget custom items
- Deal with overflow in exp using numpy
- AttributeError: ‘int’ object has no attribute ‘_sa_instance_state’
- Mocking async call in python 3.5
- Get a unique list of items that occur more than once in a list
- scipy.curve_fit() returns multiple lines
- Python native coroutines and send()
- Unable to import path from django.urls
- When should I use @classmethod and when def method(self)?
- Understanding Pickling in Python
- Pythonic way to select list elements with different probability [duplicate]
- Writable nested serializer in django-rest-framework?
- Can’t import cv2; “DLL load failed”