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


Groups > comp.lang.python > #92190

Re: Keypress Input

Path csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'type,': 0.07; 'whichever': 0.09; 'cc:addr:python-list': 0.10; 'python': 0.11; 'interpreter': 0.15; '3.0,': 0.16; 'ah,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.16; 'case.': 0.18; 'module,': 0.18; 'typing': 0.18; 'changes': 0.20; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'tkinter': 0.22; 'am,': 0.23; '2015': 0.23; 'module': 0.23; 'errors': 0.23; 'import': 0.24; 'header:In- Reply-To:1': 0.24; 'installed': 0.26; 'mostly': 0.27; 'turns': 0.27; 'message-id:@mail.gmail.com': 0.28; 'older': 0.32; 'received:google.com': 0.34; 'newer': 0.35; 'but': 0.36; 'there': 0.36; 'should': 0.37; 'subject:: ': 0.37; 'rather': 0.38; 'means': 0.39; 'your': 0.60; 'john': 0.61; 'gave': 0.63; 'upper': 0.76; 'chrisa': 0.84; 'to:none': 0.90
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=tH4ZWVQ+wOpOv4JHGT+eJ52vI/rX67hMcP+Sy+oGqXY=; b=Vx1ms0bVwSYKTzl6FlRlkHHYzAarvPpGmqwaf6SI+AWU4o0GLBB+6rjeM5YfJGgqff GCS3WVzhmUswUNfke0A5U6YP081jQx+ZcJC0TDDEyX8qntZDtOF7XrK7ElYzlxy+l/oc Rd/OxYEHSp7tCB7aHxvDSU0uczLLdg7aSO7evpeWY79DPrQcCQY14dqnIYWLhZdR0SA4 sFZgGWYz7/V6hq4h+08zndKAXYqt1kLwrvtckKajEuLcn5a9EA+wqJlP9sgMCmkg+cX5 RZzVXfKvjh2d/9q0i59zAL3c6jGpL9QEAoiktAB7FmWVM1aGBSReFX/nCKupAuGjeSLy zHMA==
MIME-Version 1.0
X-Received by 10.50.2.3 with SMTP id 3mr5248704igq.34.1433625642115; Sat, 06 Jun 2015 14:20:42 -0700 (PDT)
In-Reply-To <hZGcx.45402$LN4.24632@fx02.iad>
References <rBHbx.75089$MO7.40532@fx10.iad> <hZGcx.45402$LN4.24632@fx02.iad>
Date Sun, 7 Jun 2015 07:20:42 +1000
Subject Re: Keypress Input
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <python-list@python.org>
Content-Type text/plain; charset=UTF-8
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>
Newsgroups comp.lang.python
Message-ID <mailman.221.1433625651.13271.python-list@python.org> (permalink)
Lines 12
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1433625651 news.xs4all.nl 2882 [2001:888:2000:d::a6]:45176
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:92190

Show key headers only | View raw


On Sun, Jun 7, 2015 at 4:28 AM, John McKenzie <davros@bellaliant.net> wrote:
>  It turns out Tkinter is installed on Raspian and my Pi has it. Typing
> import tkinter into the Python interpreter gave me an error, then I
> corrected my spelling. The T should be upper case. No errors with "import
> Tkinter".

Ah, that means your Python interpreter is the older (version 2) type,
rather than the newer (version 3). As of Python 3.0, the module is
named "tkinter". Use whichever one you have; there are a few other
changes inside the module, but the functionality's mostly the same.

ChrisA

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


Thread

Keypress Input John McKenzie <davros@bellaliant.net> - 2015-06-03 18:22 +0000
  Re: Keypress Input Laura Creighton <lac@openend.se> - 2015-06-03 20:59 +0200
  Re: Keypress Input Gary Herron <gherron@digipen.edu> - 2015-06-03 12:15 -0700
  Re: Keypress Input Gary Herron <gherron@digipen.edu> - 2015-06-03 11:47 -0700
  Re: Keypress Input Laura Creighton <lac@openend.se> - 2015-06-04 12:50 +0200
  Re: Keypress Input John McKenzie <davros@bellaliant.net> - 2015-06-06 18:28 +0000
    Re: Keypress Input Laura Creighton <lac@openend.se> - 2015-06-06 22:52 +0200
    Re: Keypress Input Chris Angelico <rosuav@gmail.com> - 2015-06-07 07:20 +1000
    Re: Keypress Input Michael Torrie <torriem@gmail.com> - 2015-06-06 22:31 -0600
  Re: Keypress Input John McKenzie <davros@bellaliant.net> - 2015-06-15 05:15 +0000
    Re: Keypress Input John McKenzie <davros@bellaliant.net> - 2015-06-16 15:09 +0000
    Re: Keypress Input Christian Gollwitzer <auriocus@gmx.de> - 2015-06-19 07:20 +0200
      Re: Keypress Input John McKenzie <davros@bellaliant.net> - 2015-06-20 14:59 +0000
      Re: Keypress Input Rick Johnson <rantingrickjohnson@gmail.com> - 2015-07-15 18:03 -0700
        Re: Keypress Input Michael Torrie <torriem@gmail.com> - 2015-07-15 22:30 -0600
          Re: Keypress Input Rick Johnson <rantingrickjohnson@gmail.com> - 2015-07-16 10:22 -0700
            Re: Keypress Input Michael Torrie <torriem@gmail.com> - 2015-07-16 15:27 -0600
        Re: Keypress Input Terry Reedy <tjreedy@udel.edu> - 2015-07-16 02:08 -0400
          Re: Keypress Input Rick Johnson <rantingrickjohnson@gmail.com> - 2015-07-16 11:30 -0700
        Re: Keypress Input Terry Reedy <tjreedy@udel.edu> - 2015-07-16 03:10 -0400
        Re: Keypress Input Michael Torrie <torriem@gmail.com> - 2015-07-16 15:29 -0600
  Re: Keypress Input John McKenzie <davros@bellaliant.net> - 2015-06-15 05:23 +0000
    Re: Keypress Input Oscar Benjamin <oscar.j.benjamin@gmail.com> - 2015-06-15 12:22 +0100
      Re: Keypress Input Grant Edwards <invalid@invalid.invalid> - 2015-06-15 15:22 +0000
    Re: Keypress Input Michael Torrie <torriem@gmail.com> - 2015-06-16 11:15 -0600
      Re: Keypress Input John McKenzie <davros@bellaliant.net> - 2015-06-16 20:06 +0000
        Re: Keypress Input Grant Edwards <invalid@invalid.invalid> - 2015-06-16 20:49 +0000
          Re: Keypress Input Michael Torrie <torriem@gmail.com> - 2015-06-16 19:22 -0600
          Re: Keypress Input Michael Torrie <torriem@gmail.com> - 2015-06-18 16:42 -0600
      Re: Keypress Input John McKenzie <davros@bellaliant.net> - 2015-06-20 15:02 +0000
        Re: Keypress Input Michael Torrie <torriem@gmail.com> - 2015-06-20 10:30 -0600
  Re: Keypress Input Paul Rubin <no.email@nospam.invalid> - 2015-06-16 14:22 -0700
  Re: Keypress Input John McKenzie <davros@bellaliant.net> - 2015-07-15 19:05 +0000
    Re: Keypress Input Michael Torrie <torriem@gmail.com> - 2015-07-15 13:17 -0600
      Re: Keypress Input John McKenzie <davros@bellaliant.net> - 2015-08-16 19:45 +0000

csiph-web