Thanks everybody for the answers. It was very enlightening. Here's my
solution:
# using rich console
def ensure_internet():
console = Console()
domains = [
'https://google.com',
'https://yahoo.com',
'https://bing.com',
'https://www.ecosia.org',
'https://www.wikipedia.org'
]
results = []
with conso
On 2022-02-09 01:12, Jen Kris via Python-list wrote:
I am using the Python C API to load the Gutenberg corpus from the nltk library
and iterate through the sentences. The Python code I am trying to replicate is:
from nltk.corpus import gutenberg
for i, fileid in enumerate(gutenberg.fileids()):
Is there any way to get this mesage to stop showing up in my mailbox in what
seems to be a shotgun approach asking everybody everywhere they can think of to
participate in something very amorphous and at the same time having NOTHING
particular to do with Python?
I consider things like this SPAM
Am 08.02.22 um 18:57 schrieb Dieter Maurer:
Christian Gollwitzer wrote at 2022-2-7 20:33 +0100:
we've developed a Python pacakge which consists of both a compiled
extension module and some helper functions in Python. Is there a
tutorial on how to package such an extension?
Look at "https://pac
I am using the Python C API to load the Gutenberg corpus from the nltk library
and iterate through the sentences. The Python code I am trying to replicate is:
from nltk.corpus import gutenberg
for i, fileid in enumerate(gutenberg.fileids()):
sentences = gutenberg.sents(fileid)
et
> On 8 Feb 2022, at 14:15, Lars Liedtke wrote:
>
> Hello,
>
> inspired by this thread
> https://mail.python.org/pipermail/python-list/2022-February/905167.html I
> finally came around to send in this question.
>
> I know how to use python logging generally. Being on the DevOps-Side of
> t
These are a lot of questions. I hope we're not off topic.
I don't know if mine are best practices. I can tell what I try to do.
On Tue, 8 Feb 2022 at 15:15, Lars Liedtke wrote:
> - On a line per line basis? on a function/method basis?
I usually log the start and end of functions. I could also lo
Christian Gollwitzer wrote at 2022-2-7 20:33 +0100:
>we've developed a Python pacakge which consists of both a compiled
>extension module and some helper functions in Python. Is there a
>tutorial on how to package such an extension?
Look at "https://package.python.org";,
especially
"https://packa
"Loris Bennett" writes:
> Hi,
>
> I am writing a fairly simple command-line application which will just
> add or delete an entry in a database and then generate a corresponding
> email.
>
> I am using SQLAlchemy to wrap a class around a database and have
>
> class DatebaseWrapper():
> """
Hi,
I am writing a fairly simple command-line application which will just
add or delete an entry in a database and then generate a corresponding
email.
I am using SQLAlchemy to wrap a class around a database and have
class DatebaseWrapper():
"""Encapsulation of the database"""
def
Hello,
inspired by this thread
https://mail.python.org/pipermail/python-list/2022-February/905167.html
I finally came around to send in this question.
I know how to use python logging generally. Being on the DevOps-Side of
things at the moment, I naturally began liking to run tools, which no
Dear Sir or Madam,
We prepared a short survey to understand practitioners’ perspectives
towards the requirements engineering. Our survey basically aims to clarify
on many aspects of the requirements engineering applied in industry, including
(i) requirements gathering and specifications, (ii) req
Chris Angelico writes:
> On Tue, 8 Feb 2022 at 06:51, Cecil Westerhof via Python-list
> wrote:
>>
>> Chris Angelico writes:
>>
>> >> > How difficult would it be to get people to read those lines, though?
>> >>
>> >> That does remind me about a system administrator who wanted to make a
>> >> poi
And I missed one that was just published last month:
https://datatracker.ietf.org/doc/html/rfc9171
Unlike RFC 5050, this version of the protocol actually claims to be a
"Proposed Standard".
--
Alan Bawden
--
https://mail.python.org/mailman/listinfo/python-list
Greg Ewing writes:
On 8/02/22 8:51 am, Chris Angelico wrote:
> Some day, we'll have people on Mars. They won't have TCP connections -
> at least, not unless servers start supporting connection timeouts
> measured in minutes or hours - but it wouldn't surprise me if some
> sort of c
On 2/7/22 5:09 PM, Peter J. Holzer wrote:
On 2022-02-06 23:30:41 -0800, blessy carol wrote:
I have this task where I have to create log files to record user
activity whenever they make an entry or view something. Also, I have
to create Database log file whenever someone accessed or manipulated
16 matches
Mail list logo