Re: Python Resources related with web security

2019-11-25 Thread Chris Angelico
On Tue, Nov 26, 2019 at 1:56 PM Pycode wrote: > > which keywords should i use for web-search? do you have a list? > what is the best "manual" for the specific security topic? https://lmgtfy.com/?q=How+to+search+the+web ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: Python Resources related with web security

2019-11-25 Thread Pycode
On Mon, 25 Nov 2019 17:32:50 -0500, Dennis Lee Bieber wrote: > On Mon, 25 Nov 2019 21:25:12 + (UTC), Pycode > declaimed the following: > > >>you are not being helpful or answer the question.. >>can someone answer? maybe should i ask on the mailing list? > > Why? > > comp.lang.python

Re: Python Resources related with web security

2019-11-25 Thread Pycode
On Mon, 25 Nov 2019 16:48:59 -0600, Tim Chase wrote: > On 2019-11-25 21:25, Pycode wrote: >> On Sun, 24 Nov 2019 10:41:29 +1300, DL Neil wrote: >>> Are such email addresses 'open' and honest? >> >> you are not being helpful or answer the question.. > > What DL Neil seems to be getting at is that

Re: Fit to function values with numpy/scipy

2019-11-25 Thread Richard Damon
On 11/25/19 12:31 PM, Machiel Kolstein wrote: > Okay, I found some answer myself: use scipy.optimize.curve_fit > However, I still find it strange that I have to define a gauss function > myself instead of it being readily available. I did this: > > # Define model function to be used to fit to the

Re: Python Resources related with web security

2019-11-25 Thread DL Neil via Python-list
On 26/11/19 11:48 AM, Tim Chase wrote: On 2019-11-25 21:25, Pycode wrote: On Sun, 24 Nov 2019 10:41:29 +1300, DL Neil wrote: Are such email addresses 'open' and honest? you are not being helpful or answer the question.. What DL Neil seems to be getting at is that there's been an uptick in q

Re: Python Resources related with web security

2019-11-25 Thread Tim Chase
On 2019-11-25 21:25, Pycode wrote: > On Sun, 24 Nov 2019 10:41:29 +1300, DL Neil wrote: >> Are such email addresses 'open' and honest? > > you are not being helpful or answer the question.. What DL Neil seems to be getting at is that there's been an uptick in questions 1) where we don't know who

Why isn't "-std=c99" (and others) not part of python3-config's output?

2019-11-25 Thread Musbur
I've successfully built and installed a copy of Python3.6.8 (replacing a probably buggy installation on my RHEL system, different story). Also I set up a virtualenv by doing "$ /usr/local/bin/python3.6dm -m venv /usr/local/pyenv36" In my activated virtualenv, I try "$ pip install numpy" but it

Re: Python Resources related with web security

2019-11-25 Thread Pycode
On Sun, 24 Nov 2019 10:41:29 +1300, DL Neil wrote: > Curiosity: why have recent similar enquiries also come from > non-resolving domain names? > > > Recently we've seen security-related enquiries (on more than one Python > Discussion List) which don't explicitly claim to come from 'white hat > h

Re: Fit to function values with numpy/scipy

2019-11-25 Thread Machiel Kolstein
Okay, I found some answer myself: use scipy.optimize.curve_fit However, I still find it strange that I have to define a gauss function myself instead of it being readily available. I did this: # Define model function to be used to fit to the data def gauss(x, *p): A, mu, sigma = p retur

Fit to function values with numpy/scipy

2019-11-25 Thread Machiel Kolstein
If I have an array with values, which are distributed according to a Gaussian function, then I can fit with: (fit_mu, fit_sigma) = stats.norm.fit(x_array) However, now, I have one array with values for the xbins (e.g., 0.0, 0.1, 0.2, 0.3, ..., up till 1.0) and one value for the correspondin

Library Generate a diff between two text files

2019-11-25 Thread Noah
Hi Folks, >From experience, could someone point me to a library that can do a diff between two separate text files... *difflib* doesn't seem to cut it to this end *./noah* neo - network engineering and operations -- https://mail.python.org/mailman/listinfo/python-list

python-docx

2019-11-25 Thread Ethan Woo
Hi everyone, I am currently using Python 3.7.4, and have used pip to install python docx. I have looked up on many tutorials on how to use it, but they are all mostly the same. doc.add_heading("Test") when i type that line, i get this: KeyError: "no style with name 'Heading 1'" can help? -- https