Re: A switch somewhere, or bug? CORRECTION

Michael Torrie via Python-list <[email protected]> Fri, 5 Dec 2025 21:44:10 -0700
Newsgroups gmane.comp.python.general
Message-ID <[email protected]>
On 12/5/25 6:36 PM, Chris Angelico via Python-list wrote:
> On Sat, 6 Dec 2025 at 12:33, Michael Torrie via Python-list
> <[email protected]> wrote:
>> Starter = open("HLYlog.txt","w");
>> filepath = Starter.name
> 
> Isn't that just...
> 
> filepath = "HLYlog.txt"

yup.  But did you miss the os.path.abspath() bit?