Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78053

Re: program to generate data helpful in finding duplicate large files

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; "'',": 0.07; 'os.path': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:files': 0.09; '(eg,': 0.16; '>on': 0.16; 'message- id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:program': 0.16; 'wrote:': 0.18; 'thu,': 0.19; 'platforms': 0.22; 'instead.': 0.24; 'url:home': 0.24; 'mention': 0.26; 'primary': 0.26; 'header:X -Complaints-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'needed.': 0.30; 'along': 0.30; '-0700,': 0.31; 'sep': 0.31; 'file': 0.32; 'subject:data': 0.36; 'charset:us-ascii': 0.36; 'to:addr:python- list': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'system.': 0.39; 'skip:p 20': 0.39; 'received:org': 0.40; 'skip:* 10': 0.61; 'skip:n 10': 0.64; 'received:108': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: program to generate data helpful in finding duplicate large files
Date Thu, 18 Sep 2014 20:08:59 -0400
Organization IISS Elusive Unicorn
References <CALDD_==AYbQNPu29jRoLFp8WPZaZ9mMs79334-m_z3dgdxZRJw@mail.gmail.com> <CALvWhxvvtyH0Us8+9eg+JBcooUvq1kiTVqmfU0rg1XTtcJGmVg@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host adsl-108-79-221-162.dsl.klmzmi.sbcglobal.net
X-Newsreader Forte Agent 6.00/32.1186
X-No-Archive YES
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.14131.1411085303.18130.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1411085303 news.xs4all.nl 2879 [2001:888:2000:d::a6]:39547
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:78053

Show key headers only | View raw


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


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