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


Groups > de.comp.lang.python > #5199

[Python-de] docopt (Alternative zu argparse) schon genutzt?

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From Thomas Güttler <guettliml@thomas-guettler.de>
Newsgroups de.comp.lang.python
Subject [Python-de] docopt (Alternative zu argparse) schon genutzt?
Date Thu, 19 Jul 2018 09:47:56 +0200
Lines 19
Message-ID <mailman.13.1531986797.5457.python-de@python.org> (permalink)
References <ef008c53-c9c1-dad1-8a20-392b5efb592f@thomas-guettler.de>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 8bit
X-Trace news.uni-berlin.de qdXtdcSfJ4lKpastH/2BHAJ805CA6DQ6AHNPPZG2osVQ==
Return-Path <guettliml@thomas-guettler.de>
X-Original-To python-de@python.org
Delivered-To python-de@mail.python.org
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
Content-Language de-DE
X-BeenThere python-de@python.org
X-Mailman-Version 2.1.27
Precedence list
List-Id Die Deutsche Python Mailingliste <python-de.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-de>, <mailto:python-de-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-de/>
List-Post <mailto:python-de@python.org>
List-Help <mailto:python-de-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-de>, <mailto:python-de-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <ef008c53-c9c1-dad1-8a20-392b5efb592f@thomas-guettler.de>
Xref csiph.com de.comp.lang.python:5199

Show key headers only | View raw


Hallo,

hat schon mal jemand docopt (Alternative zu argparse) ausprobiert?

Ich finde das Herangehen sehr witzig.

Als Entwickler schreibt man den Hilfetexte des Tools in einer
bestimmten Syntax und den erhält man per docopt einen Parser.

Die Idee ist erfrischend anders und gefällt mir sehr gut.

Hat jemand schon damit Erfahrung gesammelt?

Gruß,
   Thomas

-- 
Thomas Guettler http://www.thomas-guettler.de/
I am looking for feedback: https://github.com/guettli/programming-guidelines

Back to de.comp.lang.python | Previous | Next | Find similar


Thread

[Python-de] docopt (Alternative zu argparse) schon genutzt? Thomas Güttler <guettliml@thomas-guettler.de> - 2018-07-19 09:47 +0200

csiph-web