Open sofiiako opened 3 weeks ago
If you're talking about the error FileNotFoundError: [Errno 2] No such file or directory: 'outfile.txt'
, you are likely to see an additional message The output file name should be derived from the outfile_name variable.
Solving the task in line with comment # Opening the file in write mode (using the 'w' argument)
it is necessary to specify the contents of input1.txt
files as the file name, which is stored in the outfile_name
variable.
I don't see what the error could be yet.
9/1/2024 8:54:43 File Input Output / Open file
"Hi, I'm learning your Introduction to Python course. When i run the project, at first it gives an error at the path tests/test_task.py “open(“outfile.txt”, “r”) no such file or directory”. Then i try to create another file “outfile.txt” put together with input.txt and input1.txt and then the error “No tests have run” appears. I compared the project results and they match"
bug
No tests have run