Deutsch English Français Italiano |
<tkft8s$6lnj$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Dominique <zzz@aol.com> Newsgroups: fr.comp.lang.python Subject: =?UTF-8?Q?Re=3a_Propri=c3=a9t=c3=a9s_Unicode_dans_les_regex_Python?= Date: Wed, 9 Nov 2022 10:52:28 +0100 Organization: A noiseless patient Spider Lines: 23 Message-ID: <tkft8s$6lnj$1@dont-email.me> References: <tk67uo$1b37$1@cabale.usenet-fr.net> <63680b04$0$3005$426a74cc@news.free.fr> <unicodedata-20221109092838@ram.dialup.fu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Wed, 9 Nov 2022 09:52:29 -0000 (UTC) Injection-Info: reader01.eternal-september.org; posting-host="e89e05833d7dfa390be2cfaf4679cd62"; logging-data="218867"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/kMdRC/LZXGTk+x1m5zMqxKu1TpsuLxqs=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Cancel-Lock: sha1:qWSGehkdC7ZLl9BzYXcozv/bNdc= Content-Language: fr In-Reply-To: <unicodedata-20221109092838@ram.dialup.fu-berlin.de> Bytes: 1643 Le 09/11/2022 à 09:33, Stefan Ram a écrit : > import unicodedata > > source = "abcdEfgh" > for i, ch in enumerate( source ): > if unicodedata.category( ch )== 'Lu': > print( i, ch ) > > Bonjour, Pourrais-tu expliquer ton script que je ne comprends pas ? À quoi correspond 'Lu' ? Est-ce spécifique unicodedata ? Je te remercie, -- Dominique Courriel : dominique point sextant ate orange en France Esto quod es