Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Chris Angelico Newsgroups: comp.lang.python Subject: Re: problem Date: Fri, 15 Jan 2016 08:10:09 +1100 Lines: 12 Message-ID: References: <5697f08f$0$23822$e4fe514c@news.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de ID6VALlI9Ka4z8ruUTxUswsHIRb2LLmcKD4Ge8teMRzg== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'received:209.85.223': 0.03; 'cc:addr:python-list': 0.09; 'scripts,': 0.09; 'python': 0.10; 'jan': 0.11; '2016': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'input': 0.18; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'subject:problem': 0.22; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'fri,': 0.27; 'message- id:@mail.gmail.com': 0.27; '15,': 0.30; 'received:google.com': 0.35; 'something': 0.35; 'should': 0.36; 'instead': 0.36; 'received:209.85': 0.36; 'subject:: ': 0.37; 'received:209': 0.38; 'end': 0.39; 'your': 0.60; 'chrisa': 0.84; 'to:none': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=rbRY87jywoCA19p0H4+8uOTHQOGNo/HuWjQEUHg8M7w=; b=oQ4PKlh3DgkkFq39ewlrIL61IR5xucSbXaF5hVBZ+UMsvFuQzBJEhKRJ+UEqD1Dpmi mQ0zdlZ34HxPxSBgt8REH+04+AdGaosBI3La6DsiGVOOED2P01V1dN4C+/NVQQAt5leC ZB00yUK+Y3DfWRgHo7QQpFo4AEJbj20eXaXUjeCgOXS9xOnnUdX/PNZCtsc6uwt1B/MP j1vndi8BMHHWb+3cac+jOa7DblNgdiPTepmh0tfvsuJXhPFHRePGFwWvob1MsgX6nW3E 7PjWJE0n2ud9519TaWIH/PyKlUNJAMnsRpFy1Jq6TEuGyiZHkJ5wZ2rCFjVjnRfE2GYQ NI5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:cc:content-type; bh=rbRY87jywoCA19p0H4+8uOTHQOGNo/HuWjQEUHg8M7w=; b=c/jaUuxhqybdgokK22Eip9YGPZnCN6gjfPlanQYK0DkuEM15TK6mm1SmUqyiwewzdN bmMw634qAQEH8e0E27ZUb2zUtt/0mKCIp3vzYwfbUGSWySG87XWuyKFD6iy8f5or1H9Z uZDeI59bSgE1qpCto1nLqMatnxVYcGekVWyMGGMRZietiPoM9FbJq7vrzo9tRPbZTd8+ Ulzz2l1gB/HHOGKWTCtcxbTWcHB4cq7kAmpGbLeY71z9rflKkgCq5/8mFFytvp+bUi15 pfEGULLP8TldE3StWLHfmrqZsOanoyejogzK94413JEzNCA4Z6lfhPjRxKC7j3x2r/6r pxOw== X-Gm-Message-State: ALoCoQkztcDNqjpHtn3TQZkXEVVwDAUKDRryOGaJ86MuE3DFDwEtwxLI4ed7IkvirN3it22JlLskyulU3ynXB1ZXByvhZrd5yQ== X-Received: by 10.107.47.162 with SMTP id v34mr6295917iov.19.1452805809872; Thu, 14 Jan 2016 13:10:09 -0800 (PST) In-Reply-To: <5697f08f$0$23822$e4fe514c@news.xs4all.nl> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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:101717 On Fri, Jan 15, 2016 at 6:01 AM, Irmen de Jong wrote: > Either put something like this at the end of your python scripts, to keep the console open: > > raw_input("press enter to exit...") > > Small qualification: This is 3.5, so you should use input instead of raw_input. input("Press enter to exit...") ChrisA