Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.023 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'say,': 0.05; 'subject:Python': 0.06; 'dan': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'strings.': 0.09; 'python': 0.11; 'accesses': 0.16; 'finney': 0.16; 'libraries.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.18; 'library': 0.18; 'header:User-Agent:1': 0.23; 'tells': 0.24; 'mon,': 0.24; 'this:': 0.26; 'asking': 0.27; 'header:X-Complaints-To:1': 0.27; 'specifically': 0.29; 'subject:) ': 0.29; "doesn't": 0.30; 'dec': 0.30; 'to?': 0.30; 'code': 0.31; 'convenience': 0.31; 'writes:': 0.31; 'subject: (': 0.35; 'subject:?': 0.36; 'so,': 0.37; 'requirements': 0.37; 'ben': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'short': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'is.': 0.60; "you've": 0.63; 'information': 0.63; 'movie': 0.65; 'skip:\xe2 10': 0.65; 'receive': 0.70; 'strings)': 0.84; 'subject:Movie': 0.84; '\xe2\x80\x9cthis': 0.84; 'hong': 0.91; 'kong': 0.91; 'online,': 0.96; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ben Finney Subject: Re: Movie (MPAA) ratings and Python? Date: Wed, 11 Dec 2013 07:26:31 +1100 References: <7wk3fdmcna.fsf@benfinney.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: rasputin.madmonks.org X-Public-Key-ID: 0xAC128405 X-Public-Key-Fingerprint: 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 X-Public-Key-URL: http://www.benfinney.id.au/contact/bfinney-gpg.asc X-Post-From: Ben Finney User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) Cancel-Lock: sha1:zPTF1ZXXn5QzM5KZzWGG11iT+yw= X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 31 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1386707205 news.xs4all.nl 2903 [2001:888:2000:d::a6]:40725 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:61500 Dan Stromberg writes: > On Mon, Dec 9, 2013 at 10:40 PM, Ben Finney wrote: > > What information would you want access to? Why would a library > > (rather than, say, a short set of strings) be needed? > > > Movie ratings. EG G, PG, PG-13, etc. That tells me only that you want short strings. Based on what you've said so far, your requirements can be met with code like this: movie_ratings = ["G", "PG", "PG-13", …] which doesn't need a library to access. So, I ask again: What data do you want access to? Can you describe what you want your program to receive when it accesses movie ratings? Is this information held specifically by the MPAA? If so, where is it online, and how do the MPAA make it available publicly? These are questions to answer prior to asking about Python libraries. Before asking “how do I use Python for this job?”, you need to help us understand what “this job” is. -- \ “For your convenience we recommend courteous, efficient | `\ self-service.” —supermarket, Hong Kong | _o__) | Ben Finney