Re: Force Python ast to emit lines no longer than $length

2021-01-21 Thread Samuel Marks
I ended up adding word-wrap support directly to my code-generation: https://github.com/SamuelMarks/doctrans/commit/6147b21e168b66623aa1be95cb38b1969daa5147 Samuel Marks Charity | consultancy | open-source | LinkedIn

Re: Python flask logging: two different formats, but want one format

2021-01-21 Thread Cameron Simpson
On 21Jan2021 15:37, Dan Stromberg wrote: >I am working on a REST API using Flask. > >The API is currently divided across two Python 3.6 modules: update.py and >vmware_exporters_support.py. > >update.py logs the way I want. vmware_exporters_support.py does not log the >way I want. I want vmware_exp

Python flask logging: two different formats, but want one format

2021-01-21 Thread Dan Stromberg
I am working on a REST API using Flask. The API is currently divided across two Python 3.6 modules: update.py and vmware_exporters_support.py. update.py logs the way I want. vmware_exporters_support.py does not log the way I want. I want vmware_exporters_support.py to use update.py's logging form

Re: Mailing

2021-01-21 Thread Grant Edwards
On 2021-01-21, David Lowry-Duda wrote: > On Thu, Jan 21, 2021 at 06:19:03AM -0500, TheGemmyGuy wrote: >> A quick question; for mailing, do I send a message through e-mail or the >> Python Mailman page? > > Whatever you did here works. I use email. - DLD NNTP client (slrn) via nntp://news.gmane.io

Re: Mailing

2021-01-21 Thread David Lowry-Duda
On Thu, Jan 21, 2021 at 06:19:03AM -0500, TheGemmyGuy wrote: > A quick question; for mailing, do I send a message through e-mail or the > Python Mailman page? Whatever you did here works. I use email. - DLD -- https://mail.python.org/mailman/listinfo/python-list

Re: etree, gzip, and BytesIO

2021-01-21 Thread Kushal Kumaran
On Thu, Jan 21 2021 at 08:22:08 AM, Frank Millman wrote: > Hi all > > This question is mostly to satisfy my curiosity. > > In my app I use xml to represent certain objects, such as form > definitions and process definitions. > > They are stored in a database. I use etree.tostring() when storing >

Can I earn a lot of money by learning and mastering the Python programming language?

2021-01-21 Thread Turritopsis Dohrnii Teo En Ming
Subject: Can I earn a lot of money by learning and mastering the Python programming language? Good day from Singapore, I am an IT consultant with a System Integrator (SI)/computer firm in Singapore, specializing in Systems/Infrastructure and Computer Networking. I am thinking of creating an extra

Mailing

2021-01-21 Thread TheGemmyGuy
A quick question; for mailing, do I send a message through e-mail or the Python Mailman page? Thank you -- https://mail.python.org/mailman/listinfo/python-list