> On 7 Jul 2024, at 23:47, MRAB via Python-list <python-list@python.org> wrote: > > For clarity I'd recommend os.replace instead. This is because on Windows > os.rename it would complain if the target file already exists, but os.replace > has the same behaviour on both Linux and Windows. Agreed. In this case the OP is on an RPi. Barry -- https://mail.python.org/mailman/listinfo/python-list
- Best (simplest) way to share data betwe... Chris Green via Python-list
- Re: Best (simplest) way to share d... Piergiorgio Sartor via Python-list
- Re: Best (simplest) way to sha... Chris Green via Python-list
- Re: Best (simplest) way to share d... Gordinator via Python-list
- Re: Best (simplest) way to share d... Barry via Python-list
- Re: Best (simplest) way to sha... MRAB via Python-list
- Re: Best (simplest) way to... Barry Scott via Python-list
- Re: Best (simplest) way to share d... Left Right via Python-list
- Re: Best (simplest) way to share d... Chris Green via Python-list
- Re: Best (simplest) way to sha... Chris Green via Python-list