Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Erik Newsgroups: comp.lang.python Subject: Re: [Beginner] - Hanging in the code, can't figure out what's wrong Date: Sun, 3 Apr 2016 22:26:56 +0100 Lines: 38 Message-ID: References: <66afb6f1-ca2b-4f9b-a1ec-ed255fa3030f@googlegroups.com> <03c7da56-c752-460f-98b1-84b7166a2cc3@googlegroups.com> <32c7ba6b-b61d-45fb-89a8-dd62aa09fe78@googlegroups.com> <686d7aab-4020-4840-a1b7-fce8e89c6633@googlegroups.com> <6d022206-5f4d-4ac9-be50-76ce74ef48c0@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de jOvL20VwSwYGHz4eLRCQAQCTH29ojpmmmEkxcYKoANxA== Return-Path: 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; 'subject:: [': 0.03; 'context': 0.05; 'happen,': 0.07; 'responding': 0.07; 'subject:code': 0.07; 'file"': 0.09; 'happen.': 0.09; 'work"': 0.09; 'syntax': 0.13; 'missed': 0.15; 'file,': 0.15; '2016': 0.16; 'erik': 0.16; 'finishes': 0.16; 'from:addr:python': 0.16; 'hangs': 0.16; 'received:84.93': 0.16; 'received:84.93.230': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'creates': 0.18; 'runs': 0.18; 'thanks.': 0.18; '>>>': 0.20; 'suggested': 0.20; 'to:2**1': 0.21; 'saying': 0.22; 'trying': 0.22; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'turns': 0.27; 'subject:what': 0.29; 'sure,': 0.29; 'code': 0.30; 'error.': 0.31; 'post': 0.31; '"the': 0.32; 'received:84': 0.32; 'run': 0.33; 'problem': 0.33; 'so,': 0.35; 'comment': 0.35; 'but': 0.36; 'should': 0.36; 'to:addr:python-list': 0.36; 'thanks': 0.37; 'suggestion': 0.37; '(with': 0.38; 'sure': 0.39; 'subject:the': 0.39; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'your': 0.60; 'press': 0.61; 'ago.': 0.61; 'replying': 0.61; 'telling': 0.61; 'further': 0.62; 'charset:windows-1252': 0.62; '(that': 0.63; 'said:': 0.66; 'reply': 0.68; 'attention': 0.76; '"it': 0.84; 'advisory': 0.84; 'symptoms': 0.84 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=Iat6Ijea c=1 sm=1 tr=0 a=d6bQx1Csmutac+MnUcj9pQ==:117 a=d6bQx1Csmutac+MnUcj9pQ==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=N659UExz7-8A:10 a=ajPnV-HdF32M3psXEX0A:9 a=pILNOxqGKmIA:10 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: <6d022206-5f4d-4ac9-be50-76ce74ef48c0@googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:106412 Loop.IO: On 03/04/16 21:25, Loop.IO wrote: > On Sunday, April 3, 2016 at 9:15:22 PM UTC+1, Erik wrote: >> On 03/04/16 20:54, Loop.IO wrote: >>> The original post said what did happen, the code runs and hangs on >>> the create file, and once i press Enter it then finishes and creates >>> the file, not sure how you missed that but thanks >> >> Yes, I read your original post. That was days ago. >> >> The comment I was replying to was you telling BartC that what he had >> suggested "didn't work" (with no further information). >> >> Please pay attention to the context of the email you are responding to. >> >> E. > > Erik > > It was a syntax error. But sure, thanks. So, you reply to my advisory on how to report your problem by saying that your original post said what did happen. Your original post said: "the code runs and hangs on the create file, and once i press Enter it then finishes and creates the file" But it turns out that "It was a syntax error". If it was a syntax error, them how did the code run and "hang on the create file"? Don't try to sweep my suggestion (that you should describe your symptoms properly) under the carpet. It's a very important lesson to learn for people trying to report bugs/issues. E.