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


Groups > comp.lang.python > #19121

Re: First python project : Tuner

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <jerome@jolimont.fr>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.021
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'package,': 0.03; 'url:py': 0.07; 'python': 0.08; '(it': 0.09; 'assumed': 0.09; 'coding.': 0.09; 'conventions.': 0.09; 'subject:python': 0.10; 'configure': 0.10; 'displayed': 0.10; '2.1': 0.15; '"is"': 0.16; 'bit.': 0.16; 'header:X-Face:1': 0.16; 'received:lan': 0.16; 'jan': 0.19; 'possibly': 0.19; 'header:In-Reply-To:1': 0.22; 'debian': 0.23; 'subject: : ': 0.25; 'tried': 0.27; '(and': 0.29; 'yields': 0.30; "didn't": 0.30; 'version': 0.31; '+0100': 0.32; 'pure': 0.32; 'url:downloads': 0.32; 'tue,': 0.32; 'thanks': 0.32; 'to:addr :python-list': 0.33; 'mostly': 0.34; 'all.': 0.34; 'clarify': 0.34; 'subject:project': 0.34; 'thank': 0.35; 'window': 0.35; 'but': 0.37; 'useful': 0.38; "i'd": 0.39; 'being': 0.39; 'tool': 0.39; 'subject:: ': 0.39; 'to:addr:python.org': 0.40; 'under': 0.40; 'most': 0.60; 'more': 0.61; 'hope': 0.61; 'your': 0.61; 'improve': 0.62; 'believe': 0.65; 'received:89': 0.65; 'show': 0.67; 'importantly,': 0.67; 'subject:First': 0.67; 'selector': 0.84; 'misuse': 0.91; 'frequency': 0.93; 'url:fr': 0.96; 'absolutely': 0.98
X-Spam-Checker-Version SpamAssassin 3.3.1 (2010-03-16) on jeftof
X-Spam-Level
X-Spam-Status No, score=-1.0 required=7.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.1
Date Thu, 19 Jan 2012 11:44:55 +0100
From Jérôme <jerome@jolimont.fr>
To python-list@python.org
Subject Re: First python project : Tuner
In-Reply-To <20120117151601.78e495cb@bouzin.lan>
References <20120117151601.78e495cb@bouzin.lan>
X-Mailer Claws Mail 3.8.0 (GTK+ 2.24.8; x86_64-pc-linux-gnu)
X-Face "kBB1-!wF@,"j_&tJ&7; T,t)PeQkZg5?.:{p,s>/,+?b6pN5!yxZy^nRXA=*?W+|J9OG!W[rdx^VA^Sx`R"g,; +MzhAq"tZFg27W4qX+ZXvLX=%piZ6c.7@oSDHyQ0Mff#HGx<{
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.4857.1326969719.27778.python-list@python.org> (permalink)
Lines 41
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1326969719 news.xs4all.nl 6867 [2001:888:2000:d::a6]:33533
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:19121

Show key headers only | View raw


Tue, 17 Jan 2012 15:16:01 +0100
Jérôme a écrit:

> Hi all.
> 
> Like others before me, I'd like to show you my first python attempt, in the
> hope in can get advices on how to improve my coding.

Hi.

Thank you for your useful advices.

- I tried to clarify the dependencies of my program by adding 
  "PyGObject (python-gi)."
  I believe PyGObject is the name, but python-gi being the name of the debian
  package (and possibly other distros' package, I didn't check), I assumed it
  would be more helpful.

- Frequency is now displayed on the main window under each key (it was already
  displayed in the selector widget)

- Pylint helped me improve a bit. Mostly conventions. And it still yields
  what I believe are false-positives. I didn't try to configure it not to.
  Thanks for telling me about Pylint. This tool is helpful.

- I also corrected the "is" misuse as "==".

- Most importantly, new 2.1 version comes with an absolutely pure french-free
  english-only screenshot, for your convenience.

http://devs.jolimont.fr/tuner/

http://devs.jolimont.fr/tuner/downloads/tuner_v2_1.py.html

-- 
Jérôme

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


Thread

Re: First python project : Tuner Jérôme <jerome@jolimont.fr> - 2012-01-19 11:44 +0100
  Re: First python project : Tuner Rick Johnson <rantingrickjohnson@gmail.com> - 2012-01-19 08:32 -0800
  Re: First python project : Tuner Anssi Saari <as@sci.fi> - 2012-01-20 12:13 +0200
    Re: First python project : Tuner Jérôme <jerome@jolimont.fr> - 2012-01-26 19:39 +0100

csiph-web