Nov-16-2016, 08:43 PM
Works for me.
In the future, please place code between the code (python) tags and the full traceback between the error tags.
Output:C:\temp\test.txt
this is a test file
You could also write the linef=r"C:\temp\test.txt"as
f="C:/temp/test.txt"Do you have a file named "test.txt" in "C:\temp" ?
In the future, please place code between the code (python) tags and the full traceback between the error tags.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition