Groups | Search | Server Info | Keyboard shortcuts | Login | Register


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

[Python-de] Fwd: Keyboard coding

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Erich Schnoor <eschnoor@multi-matrix.de>
Newsgroups de.comp.lang.python
Subject [Python-de] Fwd: Keyboard coding
Date Sat, 20 Jul 2024 11:25:37 +0200
Lines 50
Message-ID <EBAC9ADB-9F2E-419E-8281-3750D2EDD53A@multi-matrix.de> (permalink)
References <172141140104.2219.9219777768208442096@mail.python.org>
Mime-Version 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\))
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding base64
X-Trace news.uni-berlin.de UtS40F2i/ppfZvbfcerZewU2NRyleTUckKSPawgSMHhg==
Cancel-Lock sha1:aJEJkUu/H7oxImncgRcfVLGAp7Y= sha256:eNXe4rgb7InXQoyRdAg0N3fZNuWgDPTUQO0iyS2ULJM=
Authentication-Results mail.python.org; dkim=pass reason="2048-bit key; unprotected key" header.d=jintelligence.com header.i=@jintelligence.com header.b=jPr/feD6; dkim-adsp=none (unprotected policy); dkim-atps=neutral
Authentication-Results mail-01.jintelligence.com (amavis); dkim=pass (2048-bit key) reason="pass (just generated, assumed good)" header.d=jintelligence.com
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/simple; d= jintelligence.com; h=x-mailer:date:to:references:message-id :subject:mime-version:content-type:from; s=dkim; t=1721467548; x=1724059549; bh=1hpHi9iMXkG1+e9UKCfm/r0i3G+e/YDuwIdt2Y62qQs=; b= jPr/feD635zYTUVtbxeGM1CkGUxBpiYgIWipJb98m0Mjr75p2pSKRPlwt2oplvXq 1+gYrkelPw8LrLsFx7qgVVu4q+JJNWajeXmFMdrb5baE9gNKbQDH08NwHrRvSYH7 xz5etV+tqEHXWmS+LB+304J4HsGvSHN7E1K5v3zRXWmTROAeQjsIMNLVCAIPKIk0 R1DHL+hhvZlc1uaBS7CLwYceCIhgQR7TvbWu73moEC4/Vh+wLIOjXhPbveg4TfJ0 uY7IbBFlebj5bjniVHjpxMof8m3l+tnfcQDKwNWhFy6wEFBUD+XD0lYmc44dDvoY CB7+sHdngK+dMRSI/TbKLQ==
X-Virus-Scanned Debian amavis at mail-01.jintelligence.com
X-Mailer Apple Mail (2.3774.500.171.1.1)
Message-ID-Hash ZGA2VRWKTR25A6RQHXPM2A3A6TTIA5CE
X-Message-ID-Hash ZGA2VRWKTR25A6RQHXPM2A3A6TTIA5CE
X-MailFrom eschnoor@multi-matrix.de
X-Mailman-Rule-Misses dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-python-de.python.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Content-Filtered-By Mailman/MimeDel 3.3.10b1
X-Mailman-Version 3.3.10b1
Precedence list
List-Id Die Deutsche Python Mailingliste <python-de.python.org>
Archived-At <https://mail.python.org/archives/list/python-de@python.org/message/ZGA2VRWKTR25A6RQHXPM2A3A6TTIA5CE/>
List-Archive <https://mail.python.org/archives/list/python-de@python.org/>
List-Help <mailto:python-de-request@python.org?subject=help>
List-Owner <mailto:python-de-owner@python.org>
List-Post <mailto:python-de@python.org>
List-Subscribe <mailto:python-de-join@python.org>
List-Unsubscribe <mailto:python-de-leave@python.org>
Xref csiph.com de.comp.lang.python:6118

Show key headers only | View raw


Hallo, liebe Pythonier,
sehr geehrter Herr Buechel,

Allen zur Information:
Die Ziffern des Zahlensystems zur Basis 4096 sind
in Python 3.12.2 programmiert. Sie werden mit den
Begrenzungszeichen “”” am Anfang und am Ende in
einem einheitlichen String “ziffern” gespeichert.
Ihr Wert bestimmt sich aus ihrer Position im String
(0 bis 4096).
Die Auslegung “mehrzeilenstring” ist nicht zutreffend.
Der Umfang des Strings “ziffern” wird durch die Abfrage:
   umfang = len(ziffern)  = 4096 
einwandfrei bestätigt.  Wo soll da noch nachgebessert werden?

Mit internetten Grüßen
Erich

> Anfang der weitergeleiteten Nachricht:
> 
> Von: Wolli Buechel über python-de <python-de@python.org>
> Betreff: [Python-de] Re: Keyboard coding
> Datum: 19. Juli 2024 um 19:50:01 MESZ
> An: python-de@python.org
> Antwort an: Wolli Buechel <wjb131@web.de>
> 
> Hallo Herr Schnoor,
> 
>> Das Zahlensystem zur Basis 4096 besteht aus folgenden 4096 Ziffern:
>> 
>> ziffern = """123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏ
>> ÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđĒēĔĕĖėĘęĚěĜĝĞğĠġ
> ...
>> ㄔㄕㄖㄗㄘㄙㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦㄧㄨㄩ᧠᧡᧢᧣᧤᧥᧦᧧᧨᧩᧭᧯ᲐᲑᲒᲓᲔᲕᲖᲗᲘᲙᲚᲛᲜᲝᲞᲟᲠᲡᲢᲣᱪᱫᱬᱭ 
>> ㄪㄫꆰꆱꆲꆳꆴꆵꆶꆷꆸꆹꆺꆻꆼꆽꆾꆿꇀꇁꇂꇃꇄꇅꇆꇇꇈꇉꇊꇋꇌꇍꇎꇏꇐꇑꇒꇓꇔꇕꇖꇗꇘꇙꇚꇛꇜꇝꇞꇟꇠꇡꇢꇣꇤꇥꇦꇧꇨꇩꇪꇫꇬꇭꇮꇯꇰꇱꇲꇳꇴꇵꇶꇷꇸꇹ"""
> 
> Ein Ziffernstring eines Zahlensystems zur Basis b enthält b VERSCHIEDENE 
> DRUCKBARE Zeichen. Ausgeschlossen sind somit whitespace-Zeichen (Tabulatoren, Zeilenumbrüche, 
> Leerzeichen) und Steuerzeichen. 
> 
> Ihr Mehrzeilenstring  <ziffern> erfüllt diese elementaren Anforderungen nicht. 
> Er enthält fast 70 Zeichen mehrfach, darunter 56 Zeilenumbrüche und ein Leerzeichen.
> 
> Dies sieht man so:
> 
> z = ziffern
> num1 = len(z)
> num2 = len(set(z))     # set(z) = Menge der Zeichen in z
> print(num1, num2, num1 - num2)  # >>  4115 3983 132
> 
> mehrfach = sorted( set( [ x for x in z if (z.count(x) > 1 or x in "\t\n ") ] ) )
> 
> for i, ch in enumerate(mehrfach):
>    print("[%d]   >%s<   %6d   (%d-mal)" % (i+1, ch, ord(ch), z.count(ch)))
> 
> Da müsste nachgebessert werden.
> 
> W. Buechel
> _______________________________________________
> python-de Mailingliste -- python-de@python.org
> Zur Abmeldung von dieser Mailingliste senden Sie eine Nachricht an python-de-leave@python.org
> https://mail.python.org/mailman3/lists/python-de.python.org/
> Mitgliedsadresse: eschnoor@multi-matrix.de



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


Thread

[Python-de] Re: Keyboard coding "Wolli Buechel" <wjb131@web.de> - 2024-07-19 17:50 +0000
  [Python-de] Fwd: Keyboard coding Erich Schnoor <eschnoor@multi-matrix.de> - 2024-07-20 11:25 +0200
    [Python-de] Re: Fwd: Keyboard coding "Wolli Buechel" <wjb131@web.de> - 2024-07-20 14:15 +0000

csiph-web