Re: The Cython compiler is 20 years old today !

2022-04-04 Thread Dan Stromberg
On Mon, Apr 4, 2022 at 7:42 AM Stefan Behnel wrote: > Dear Python community, > > it's now 20 years since Greg Ewing posted his first announcement of Pyrex, > the tool that is now known and used under the name Cython. > > https://mail.python.org/pipermail/python-list/2002-April/126661.html > That

Re: dict.get_deep()

2022-04-04 Thread Cameron Simpson
On 03Apr2022 21:45, Peter J. Holzer wrote: >Yup. I need something like this quite frequently, so I wrote a little >utility function (which I copy and paste into lots of code - I probably >should package that up, but a package with a single short function feels >weird). Start with one with a sligh

Re: pyinstaller is not a internal or external command

2022-04-04 Thread MRAB
On 2022-04-04 20:28, Andrew Pierson wrote: I ran pip install pyinstaller fine but after then I type in pyinstaller and it says pyinstaller is not a internal or external command Have you tried using the Python launcher? py pyinstaller ... -- https://mail.python.org/mailman/listinfo/pytho

pyinstaller is not a internal or external command

2022-04-04 Thread Andrew Pierson
I ran pip install pyinstaller fine but after then I type in pyinstaller and it says pyinstaller is not a internal or external command   Sent from [1]Mail for Windows   References Visible links 1. https://go.microsoft.com/fwlink/?LinkId=550986 -- https://mail.python.org/ma

Re: flask app convert sql query to python plotly.

2022-04-04 Thread Albert-Jan Roskam
On Apr 2, 2022 20:50, Abdellah ALAOUI ISMAILI wrote: i would like to convert in my flask app an SQL query to an plotly pie chart using pandas. this is my code : def query_tickets_status() :     query_result = pd.read_sql ("""     SELECT COUNT(*)count_status

Fwd: dict.get_deep()

2022-04-04 Thread Albert-Jan Roskam
-- Forwarded message -- From: Marco Sulla Date: Apr 2, 2022 22:44 Subject: dict.get_deep() To: Python List <> Cc: A proposal. Very often dict are used as a deeply nested carrier of data, usually decoded from JSON.  data["users"][0]["address"]["str

Marshmallow: json-to-schema helper?

2022-04-04 Thread Albert-Jan Roskam
Hi, I'm looking for a convenience function to convert a Marshmallow schema into a valid Python class definition. That is, I want to generate python code (class MySchema.. etc) that I could write to a .py file. Does this exist? I tried the code below, but that is not the intended use

Re: ANN: eGenix Antispam Bot for Telegram 0.2.0

2022-04-04 Thread alister via Python-list
On Mon, 4 Apr 2022 14:40:57 +0200, eGenix Team wrote: > > > ANNOUNCING > > eGenix Antispam Bot for Telegram > > Version 0.2.0 > >A simple, yet effective bot

The Cython compiler is 20 years old today !

2022-04-04 Thread Stefan Behnel
Dear Python community, it's now 20 years since Greg Ewing posted his first announcement of Pyrex, the tool that is now known and used under the name Cython. https://mail.python.org/pipermail/python-list/2002-April/126661.html It was a long way, and I've written up some of it in a blog post:

ANN: eGenix Antispam Bot for Telegram 0.2.0

2022-04-04 Thread eGenix Team
ANNOUNCING eGenix Antispam Bot for Telegram Version 0.2.0 A simple, yet effective bot implementation to address Telegram signup spam. This

Re: dict.get_deep()

2022-04-04 Thread Avi Gross via Python-list
Kirill, There are many related needs and issues and solutions such as how to parse XML content and do all kinds of tree searches for "patterns" that multiple modules have been created to deal with. My impression here was of a simpler request to allow a list of keys to be applied in sequence. Th

Re: googletrans in python

2022-04-04 Thread Jack Dangler
On 4/12/21 15:24, Karsten Hilbert wrote: Am Mon, Apr 12, 2021 at 12:48:23PM -0400 schrieb Quentin Bock: Can someone explain the basics of googletrans in python? I want to make a program that translates stories into English, but I'm not sure how to get a translation printed. Also, is this need

Re: dict.get_deep()

2022-04-04 Thread Kirill Ratkin via Python-list
Hello, Yes, I misunderstood as well because started to think about pattern matching which is good but this is not subject the question was about. Sorry for my mistake. Because question was about 'builtin' function which means stdlib function implemented in python itself or even in C. It