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


Groups > comp.lang.python > #45133

Re: Making safe file names

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!border2.nntp.ams2.giganews.com!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <bahamutzero8825@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status UNSURE 0.273
X-Spam-Level **
X-Spam-Evidence '*H*': 0.50; '*S*': 0.05; 'cpython': 0.05; 'subject:file': 0.07; 'satisfy': 0.09; 'windows': 0.15; 'mangled': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'header:In- Reply-To:1': 0.27; 'file': 0.32; 'etc.)': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'message-id:@gmail.com': 0.38; 'audio': 0.38; 'mapping': 0.38; 'needed': 0.38; 'whatever': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'system.': 0.39; 'most': 0.60; "you've": 0.63; 'show': 0.63; 'name': 0.63; 'organization': 0.63; 'benefit': 0.68; 'subject': 0.69; 'physical': 0.72; 'music': 0.75; '3.3.1': 0.84; '9.1': 0.84; 'freebsd': 0.84; 'subject:Making': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=W9sU5fh1qO4DT4TYv/JuEd6Yg/nF+m7X0yo5kGhs6Wg=; b=qgPB+Jz2cTUyQZ2qGKFuGDd8XU1s0tNmhT5zQXki+T33ylue34fSF75Sl8t53AAtPc JSO4NVeS7NJkLxG4awyTaUaruCOratcyCpItelSe7JvQjE9BsECn3X1ZV6Ea9UQrh+L9 w0pj6/PK5kFGQPcHvwChRScovFSt6aQhPfcqk7kyDtojWFXoqx2LLzYOUDIe7Xu7DJzL LemUHJBWkyM/36ZHCFtTu6IDKe/gpIAWTotxsNpVvFcP9UkH5ePSEGf3PfLgNQlNYVmC qg/Iz0QtlVUaJTebioxZSL0PSXeW6InRjERJGBHO7j6ZtJ/L7hfZ7FWhPLbRPtdVq+xV PLxQ==
X-Received by 10.50.73.198 with SMTP id n6mr3820509igv.34.1368065564774; Wed, 08 May 2013 19:12:44 -0700 (PDT)
Date Wed, 08 May 2013 21:12:42 -0500
From Andrew Berg <bahamutzero8825@gmail.com>
User-Agent Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2
MIME-Version 1.0
To "comp.lang.python" <python-list@python.org>
Subject Re: Making safe file names
References <51895D03.4000300@gmail.com> <CAA=1kxTnyFgLW=N_7mOCNnj75qDHt8Dfd-aYUYD8deLTrUBQ4g@mail.gmail.com> <518989E1.8010701@gmail.com> <v9olo8dnct9scscmpv4mlbd53ahkmuit43@invalid.netcom.com>
In-Reply-To <v9olo8dnct9scscmpv4mlbd53ahkmuit43@invalid.netcom.com>
X-Enigmail-Version 1.5.1
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 7bit
X-Mailman-Approved-At Sat, 11 May 2013 14:04:04 +0200
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 <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1547.1368273845.3114.python-list@python.org> (permalink)
Lines 10
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1368273845 news.xs4all.nl 15934 [2001:888:2000:d::a6]:40058
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:45133

Show key headers only | View raw


On 2013.05.08 18:37, Dennis Lee Bieber wrote:
> 	And now you've seen why music players don't show the user the
> physical file name, but maintain a database mapping the internal data
> (name, artist, track#, album, etc.) to whatever mangled name was needed
> to satisfy the file system.
Tags are used mainly for organization but a nice benefit of tags is that they are not subject to file system or URL or whatever other
limits. If an audio file has no metadata, most players will show the file name.

-- 
CPython 3.3.1 | Windows NT 6.2.9200 / FreeBSD 9.1

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Making safe file names Andrew Berg <bahamutzero8825@gmail.com> - 2013-05-08 21:12 -0500

csiph-web