Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.017 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:text': 0.05; 'subject:Python': 0.06; 'subject:file': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:script': 0.09; 'python': 0.11; 'bayl': 0.16; 'behaviour.': 0.16; 'finney': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'true:': 0.16; 'example': 0.22; 'header:User-Agent:1': 0.23; 'simpler': 0.24; 'script': 0.25; 'header:X-Complaints-To:1': 0.27; 'code': 0.31; 'lines': 0.31; 'large.': 0.31; 'long.': 0.31; 'post.': 0.31; 'writes:': 0.31; 'yourself.': 0.31; 'problem': 0.35; 'subject:data': 0.36; "didn't": 0.36; 'url:org': 0.36; 'too': 0.37; 'two': 0.37; 'clear': 0.37; 'ben': 0.38; 'to:addr :python-list': 0.38; 'that,': 0.38; 'to:addr:python.org': 0.39; 'enough': 0.39; 'received:org': 0.40; 'solve': 0.60; 'then,': 0.60; 'matter': 0.61; 'discuss': 0.62; 'complete': 0.62; 'here': 0.66; 'direct': 0.67; 'demonstrates': 0.84; 'received:125': 0.84; 'short,': 0.84; 'cryptography': 0.91; 'task,': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Ben Finney Subject: Re: Python script isn't producing text in data file Date: Thu, 11 Dec 2014 14:52:57 +1100 References: <6da205c3-f6b9-411a-b880-0b0386ea09ac@googlegroups.com> <2e1114f0-2f7e-4397-9160-941bdfba01af@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: jigong.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-pubkey.asc X-Post-From: Ben Finney User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:OBQ5TGNxTcLZEXW37tCTcUEBUMA= 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: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1418270105 news.xs4all.nl 2867 [2001:888:2000:d::a6]:34126 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:82334 Docfxit writes: > I am happy to paste it into a post. The reason I didn't is because > it's very large. The Python script is 1239 lines long. That's too long to direct us toward, no matter where you put it. Your task, then, is to construct a *much* smaller and simpler example that still demonstrates the behaviour you want explained. Once you have that, one of two things will be true: * It will be small and clear enough that we can discuss it here usefully. Or * You will have understood the problem well enough to solve it yourself. Please, construct a Short, Self-Contained, Complete Example of code that exhibits the behaviour. -- \ “When cryptography is outlawed, bayl bhgynjf jvyy unir | `\ cevinpl.” —Anonymous | _o__) | Ben Finney