Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #59193
| From | Neil Cerutti <neilc@norwich.edu> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Creating a function for a directory |
| Date | 2013-11-12 13:42 +0000 |
| Organization | Norwich University |
| Message-ID | <beepicFkjo1U1@mid.individual.net> (permalink) |
| References | <521ed3d4-e2f7-4196-947d-61f94573a8ce@googlegroups.com> <adf24d2c-1974-4c09-9ff2-bc82b31a09f4@googlegroups.com> <5281775f$0$6574$c3e8da3$5496439d@news.astraweb.com> |
On 2013-11-12, Steven D'Aprano <steve+comp.lang.python@pearwood.info> wrote: > Using os.path.exists before opening a file is, for the most > part, a waste of time. I use it in conjuction with file creation times to check that I didn't forget to update/create one of the data files a process might need. Since I have to create the data file manually, race conditions seem unlikely. -- Neil Cerutti
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Creating a function for a directory Matt <mattgraves7@gmail.com> - 2013-11-11 14:26 -0800
Re: Creating a function for a directory Joel Goldstick <joel.goldstick@gmail.com> - 2013-11-11 17:36 -0500
Re: Creating a function for a directory Chris Angelico <rosuav@gmail.com> - 2013-11-12 09:38 +1100
Re: Creating a function for a directory bob gailer <bgailer@gmail.com> - 2013-11-11 17:42 -0500
Re: Creating a function for a directory Joel Goldstick <joel.goldstick@gmail.com> - 2013-11-11 17:44 -0500
Re: Creating a function for a directory Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-11 22:45 +0000
Re: Creating a function for a directory Rick Johnson <rantingrickjohnson@gmail.com> - 2013-11-11 14:51 -0800
Re: Creating a function for a directory Chris Angelico <rosuav@gmail.com> - 2013-11-12 10:11 +1100
Re: Creating a function for a directory Rick Johnson <rantingrickjohnson@gmail.com> - 2013-11-11 21:42 -0800
Re: Creating a function for a directory Chris Angelico <rosuav@gmail.com> - 2013-11-12 17:02 +1100
Re: Creating a function for a directory Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-11-12 00:33 +0000
Re: Creating a function for a directory Neil Cerutti <neilc@norwich.edu> - 2013-11-12 13:42 +0000
Re: Creating a function for a directory Matt <mattgraves7@gmail.com> - 2013-11-11 15:05 -0800
Re: Creating a function for a directory Chris Angelico <rosuav@gmail.com> - 2013-11-12 09:51 +1100
Re: Creating a function for a directory unknown <unknown@unknown.com> - 2013-11-12 10:07 +0000
Re: Creating a function for a directory Peter Otten <__peter__@web.de> - 2013-11-12 11:24 +0100
Re: Creating a function for a directory unknown <unknown@unknown.com> - 2013-11-12 11:26 +0000
csiph-web