On Friday, 30 August 2024 at 21:23, Peter J. Holzer via Python-list
wrote:
>
>
> On 2024-08-30 19:18:29 +0000, Simon Connah via Python-list wrote:
>
> > I need to write a script that will take some user input (supplied on a
> > website) and then execute a Python
On Friday, 30 August 2024 at 23:35, Thomas Passin via Python-list
wrote:
>
>
> On 8/30/2024 3:18 PM, Simon Connah via Python-list wrote:
>
> > I need to write a script that will take some user input (supplied on a
> > website) and then execute a Python scrip
I need to write a script that will take some user input (supplied on a website)
and then execute a Python script on a host via SSH. I'm curious what the best
options are for protecting against malicious input in much the smae way as you
sanitise SQL to protect against SQL injections.
I could do
> I can see how the truley dim-witted might forget that other countries
> have phone numbers with differing lengths and formatting/punctuation,
> but there are tons of sites where it takes multiple tries when
> entering even a bog-standard USA 10-0digit phone nubmer because they
> are completely f
>
>
> On 2023-11-02, Simon Connah simon.n.con...@protonmail.com wrote:
>
> > Valid as in conforms to the standard. Although having looked at the
> > standard that might be more difficult than originally planned.
>
>
> Yes. Almost nobody actually impleme
>
> On 11/3/2023 6:51 AM, Jon Ribbens via Python-list wrote:
>
> > On 2023-11-03, Chris Angelico ros...@gmail.com wrote:
> >
> > > On Fri, 3 Nov 2023 at 12:21, AVI GROSS via Python-list
> > > python-list@python.org wrote:
> > >
> > > > My guess is that a first test of an email address might
>
>
> On 11/2/23 00:42, Simon Connah via Python-list wrote:
>
> > Basically I'm writing unit tests and one of them passess in a string
> > with an invalid email address. I need to be able to check the string
> > to see if it is a valid email so that the
> Please re-read.
> Discussion is about "closeness".
> Thus, what you might expect from email servers and Admins, NOT what you
> should do. That part should be quite evident by now!
>
My apologies for making a mistake.
Simon.
signature.asc
Description: OpenPGP digital signature
--
https://ma
> Agreed.
>
> However, with names that are frequently misspelled or which are
> commonly-spelled slightly differently, the 'trick' is to anticipate
> problems and set up aliases which forward messages to the correct address*.
>
> eg Kelvin -> Kevlin
>
> Niel, Neal, Neale (etc) -> Neil
>
>
>
>
> See https://www.linuxjournal.com/article/9585?page=0,0
>
That looks painful to maintain!
signature.asc
Description: OpenPGP digital signature
--
https://mail.python.org/mailman/listinfo/python-list
>
> On 2023-11-01, Chris Angelico ros...@gmail.com wrote:
>
> > On Thu, 2 Nov 2023 at 05:21, Simon Connah via Python-list
> > python-list@python.org wrote:
> >
> > > Could someone push me in the right direction please? I just want to
> > >
>
>
> On Thu, 2 Nov 2023 at 05:21, Simon Connah via Python-list
> python-list@python.org wrote:
>
> > Could someone push me in the right direction please? I just want to find
> > out if a string is a valid email address.
>
>
> There is only one way to
>
> On 2023-11-01, Simon Connah via Python-list python-list@python.org wrote:
>
> > I'm building a simple project using smtplib and have a
> > question. I've been doing unit testing but I'm not sure how to check
> > if an email message is valid.
>
Hi,
I'm building a simple project using smtplib and have a question. I've been
doing unit testing but I'm not sure how to check if an email message is valid.
Using regex sounds like a bad idea to me and the other options I found required
paying for third party services.
Could someone push me i
riginal Message ---
On Wednesday, 1 November 2023 at 10:09, Simon Connah
wrote:
>
>
> Hi,
>
> I'm building a simple project using smtplib and have a question. I've been
> doing unit testing but I'm not sure how to check if an email message is
> valid. Usi
tible with the Affero General Public License version 3. On the
other hand I do have a desire to build something similar myself just to
get the hang of things like this. Thank you for your reply.
On Tue, Oct 8, 2019 at 8:33 AM Rhodri James wrote:
On 08/10/2019 11:22, Simon Connah wrote:
On 08/10/2019 13:17, Rhodri James wrote:
On 08/10/2019 11:22, Simon Connah wrote:
I'm posting this message as a way to gauge interest in the project
and to see if it is worth moving forward with. There are probably
hundreds of CI/CD tools out there and many more general devops tools
but
I'm posting this message as a way to gauge interest in the project and
to see if it is worth moving forward with. There are probably hundreds
of CI/CD tools out there and many more general devops tools but what I
want to build is a CI/CD tool that ONLY supports Python 3.6 or greater
and only ru
Hi,
Hopefully this isn't a stupid question. For the record I am using Python
3.7 on Ubuntu Linux.
I've decided to use asyncio to write a TCP network server using Streams
and asyncio.start_server(). I can handle that part of it without many
problems as the documentation is pretty good. I have
On 26/12/2018 19:04, Terry Reedy wrote:
On 12/26/2018 10:35 AM, Simon Connah wrote:
Hi,
I want to build a simple web crawler. I know how I am going to do it
but I have one problem.
Obviously I don't want to negatively impact any of the websites that I
am crawling so I want to impl
On 26/12/2018 18:30, Richard Damon wrote:
On 12/26/18 10:35 AM, Simon Connah wrote:
Hi,
I want to build a simple web crawler. I know how I am going to do it
but I have one problem.
Obviously I don't want to negatively impact any of the websites that I
am crawling so I want to implement
Hi,
I want to build a simple web crawler. I know how I am going to do it but
I have one problem.
Obviously I don't want to negatively impact any of the websites that I
am crawling so I want to implement some form of rate limiting of HTTP
requests to specific domain names.
What I'd like is
22 matches
Mail list logo