Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #78053
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Subject | Re: program to generate data helpful in finding duplicate large files |
| Date | 2014-09-18 20:08 -0400 |
| Organization | IISS Elusive Unicorn |
| References | <CALDD_==AYbQNPu29jRoLFp8WPZaZ9mMs79334-m_z3dgdxZRJw@mail.gmail.com> <CALvWhxvvtyH0Us8+9eg+JBcooUvq1kiTVqmfU0rg1XTtcJGmVg@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.14131.1411085303.18130.python-list@python.org> (permalink) |
5On Thu, 18 Sep 2014 11:45:41 -0700, Chris Kaynor
<ckaynor@zindagigames.com> declaimed the following:
>On Thu, Sep 18, 2014 at 11:11 AM, David Alban <extasia@extasia.org> wrote:
>>
>> *start_directory = re.sub( '/+$', '', args.start_directory )*
>>
>
>I'm not sure this is actually needed. Its also not platform-independent as
>some platforms (eg, Windows) primary uses "\" instead.
>
Not to mention that os.path has lots of functions for manipulating file
names/paths... Along with normpath() to set the /, \ dichotomy to the local
system.
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: program to generate data helpful in finding duplicate large files Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-09-18 20:08 -0400
csiph-web