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


Groups > comp.lang.python > #101717

Re: problem

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Subject Re: problem
Date Fri, 15 Jan 2016 08:10:09 +1100
Lines 12
Message-ID <mailman.172.1452805814.13488.python-list@python.org> (permalink)
References <mailman.159.1452786947.13488.python-list@python.org> <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 <rosuav@gmail.com>
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 <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:101717

Show key headers only | View raw


On Fri, Jan 15, 2016 at 6:01 AM, Irmen de Jong <irmen.NOSPAM@xs4all.nl> 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

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


Thread

problem Shivam Gupta <mailtoshivamgupta@gmail.com> - 2016-01-14 21:23 +0530
  Re: problem Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2016-01-14 20:01 +0100
    ignoring or replacing white lines in a diff "Adriaan Renting" <renting@astron.nl> - 2016-01-14 21:22 +0100
    Re: ignoring or replacing white lines in a diff Zachary Ware <zachary.ware+pylist@gmail.com> - 2016-01-14 14:54 -0600
    Re: ignoring or replacing white lines in a diff Nathan Hilterbrand <nhilterbrand@gmail.com> - 2016-01-14 15:57 -0500
    Re: ignoring or replacing white lines in a diff "Martin A. Brown" <martin@linux-ip.net> - 2016-01-14 12:57 -0800
    Re: ignoring or replacing white lines in a diff Peter Otten <__peter__@web.de> - 2016-01-14 22:05 +0100
    Re: problem Chris Angelico <rosuav@gmail.com> - 2016-01-15 08:10 +1100
    Re: problem eryk sun <eryksun@gmail.com> - 2016-01-14 15:39 -0600
    Re: ignoring or replacing white lines in a diff "Adriaan Renting" <renting@astron.nl> - 2016-01-15 10:44 +0100
    Re: ignoring or replacing white lines in a diff Peter Otten <__peter__@web.de> - 2016-01-15 11:20 +0100

csiph-web