Re: [Python] [SMTPLIB] 550-5.7.26 This mail is unauthenticated

2023-06-15 Per discussione Luca
Grazie mille.

farò indagini.

Il giorno mer 14 giu 2023 alle ore 18:36 ㎝  ha scritto:

> ciao luca!
>
> Il giorno mer 14 giu 2023 alle ore 17:33 Luca  ha
> scritto:
> > Voi avete qualche idea ?
>
> non so se c'entra, ma libero.it è uno dei pochi server postali
> pubblici ad avere `-all` nello spf1 invece del più permissivo `~all`
>
> ```
> $ dig +short libero.it txt | grep spf
> "v=spf1 ip4:213.209.8.0/21 ip4:213.209.6.249/32 ip4:213.209.17.209/32
> ip4:213.209.17.246/32 ip4:213.209.27.51/32 ip4:213.209.27.52/32
> ip4:195.140.184.104/29 ip4:195.140.184.112 ip4:195.140.184.231/32
> ip4:195.140.184.232/29" " ip4:195.140.184.240/29 ip4:141.206.150.96/29
> ip4:141.206.150.48/29 include:mail.zendesk.com include:t.contactlab.it
> -all"
> ```
>
> e questo ad esempio causa non pochi problemi con le mailing list.
>
> ㎝
>
> --
>  THE 🍺-WARE LICENSE (Revision ㊷):
> <㎝🐌🐍.🇮🇹> wrote this 📧. As long as you retain this notice you can
> do whatever you want with this stuff. If we meet some day, and you
> think this stuff is worth it, you can buy me a 🍺 in return. — ㎝
> ___
> Python mailing list
> Python@lists.python.it
> https://lists.python.it/mailman/listinfo/python
>


-- 
Luca
___
Python mailing list
Python@lists.python.it
https://lists.python.it/mailman/listinfo/python


Re: [Python] Ricerca in un dizionario.

2023-06-15 Per discussione Luca
Qualcosa del tipo ?

def find_granpa(obj, what):
what = what.lower()
return {k: v for k, v in obj.items() if (what in k.lower() or what in
str(v).lower())}

Il giorno mer 14 giu 2023 alle ore 22:02 Gabriele Battaglia <
iz4...@libero.it> ha scritto:

> Ciao carissimo Giovanni, ben riletto.
>
> No, hai capito bene. Grazie.
>
> ___
> Python mailing list
> Python@lists.python.it
> https://lists.python.it/mailman/listinfo/python
>


-- 
Luca
___
Python mailing list
Python@lists.python.it
https://lists.python.it/mailman/listinfo/python