Python path and append

Seymore4Head Seymore4Head at Hotmail.invalid
Tue Apr 26 22:56:46 EDT 2016


On Tue, 26 Apr 2016 11:53:57 +1000, Steven D'Aprano
<steve at pearwood.info> wrote:

>On Tue, 26 Apr 2016 08:04 am, Seymore4Head wrote:
>
>> BTW I was trying to use a line like yours that used an output file
>> that didn't exist and was getting an error.  I assume that import os
>> fixes that.
>
>
>Why would you assume that?
>
>
>"Doctor, I have a problem with my arm, but I won't tell you what. I assume
>that if I take cough drops that will fix it."

OK.  Dumb question acknowledged.

I got an error when I tried to write to a non existent file.  I
"incorrectly" assumed wrong.  That is going to be a common theme.



More information about the Python-list mailing list