query: Create a file if it does not exist and the open it using python
positive_passages.docid: 18248
positive_passages.text: How can I safely create a nested directory in Python?
negative_passages.docid: 3358
negative_passages.text: What's the best way to check if a file exists in C?
negative_passages.docid: 54123
negative_passages.text: Check if file exists in C++
negative_passages.docid: 111176
negative_passages.text: Do not start loop if there is no files in directory?
negative_passages.docid: 22156
negative_passages.text: How do I tell if a regular file does not exist in Bash?
negative_passages.docid: 17418
negative_passages.text: How to read and write a file using python?
negative_passages.docid: 8382
negative_passages.text: What is an quick way to create a new blank file in Lion?
negative_passages.docid: 32830
negative_passages.text: Waiting for a file to be created in C#
negative_passages.docid: 123770
negative_passages.text: How to make file creation an atomic operation?
negative_passages.docid: 50579
negative_passages.text: How to find out if a file exists in C# / .NET?
negative_passages.docid: 134062
negative_passages.text: How does try_files work?
negative_passages.docid: 105307
negative_passages.text: Delete a file that "does not exist" with a strange name
negative_passages.docid: 123285
negative_passages.text: passing string to file open function in python
negative_passages.docid: 1949
negative_passages.text: How do I check whether a file exists without exceptions?
negative_passages.docid: 7784
negative_passages.text: Right-click, create a new text file. How?
negative_passages.docid: 86666
negative_passages.text: Edit file based on existence of a string
negative_passages.docid: 145602
negative_passages.text: Prepend a line to an existing file in Python