Which method to check if string index is queal to character.

Grant Edwards grant.b.edwards at gmail.com
Mon Dec 28 16:49:03 EST 2020


On 2020-12-28, Bischoop <Bischoop at vimart.net> wrote:
> On 2020-12-28, Stefan Ram <ram at zedat.fu-berlin.de> wrote:
>>
>>   "@" in s
>>
>
> That's what I thought.
>
>>>I want check if string is a valid email address.
>>
>>   I suggest to first try and define "valid email address" in English.
>
> A valid email address consists of an email prefix and an email domain,
> both in acceptable formats.

Well, that's assuming that bang routing/addresses aren't allowed. :)

--
Grant



More information about the Python-list mailing list