| Deutsch English Français Italiano |
|
<t6nhmd$1dos$1@gioia.aioe.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!aioe.org!JtT/MH7TvPPuwyVAeRzHsA.user.46.165.242.91.POSTED!not-for-mail From: Dominique <zzz@aol.com.invalid> Newsgroups: fr.comp.lang.python Subject: =?UTF-8?Q?Re=3a_Comportement_=c3=a9trange_avec_IN_et_OR=2e=2e=2e?= Date: Thu, 26 May 2022 11:36:12 +0200 Organization: Aioe.org NNTP Server Message-ID: <t6nhmd$1dos$1@gioia.aioe.org> References: <t6ndp3$1igp$1@gioia.aioe.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: gioia.aioe.org; logging-data="46876"; posting-host="JtT/MH7TvPPuwyVAeRzHsA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Content-Language: fr X-Notice: Filtered by postfilter v. 0.9.2 Bytes: 1543 Lines: 25 Le 26/05/2022 à 10:29, Dominique a écrit : Voici ma variable : test2=['[22118.286892]', 'i915', '0000:00:02.0:', '[drm]', 'essai','AUX', 'C/DDI', 'C', '(TC)/PHY', 'TC1:', 'did', 'not', 'complete', 'or', 'timeout', 'within', '10ms', '(status', '0xad4003ff)', 'ERR'] J'ai compris mon erreur. J'utilisais mal OR : 'AUX' in test2 or 'essai' in test2 Out[193]: True et 'AUX' in test2 and 'ERROR' in test2 Out[196]: False Les deux réponses deviennent bonnes ! Désolé pour le bruit inutile... mais ça m'a fait progresser... Bon long weekend pour ceux qui sont concernés, Dominique