Making Python the Best App Dev Platform

2020-09-18 Thread gMail
Hello, All We all know Python is a wonderful environment, with fantastic packages for App Dev like Flask, SQLAlchemy and Django. Now let’s make it the only reasonable choice for building database-oriented systems. I’d like to introduce 2 new capabilities: Build a web app in 10 minutes: this g

Re: Puzzling difference between lists and tuples

2020-09-18 Thread Greg Ewing
On 19/09/20 6:49 am, Grant Edwards wrote: There must be a few more sets of brackets in Unicode... Quite a lot, actually. The character browser in MacOSX is currently showing me 17, not including the ones that are built up from multiple characters. Some of them could be easily confused with no

importlib changes from py3.7 to py3.8

2020-09-18 Thread Eko palypse
With python3.7 I'm able to use _module = importlib.import_module('app.plugins.plugin_dir.plugin_name') succesfully but with python 3.8 this results in File "D:\ProgramData\Python\Python38_64\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:]

Re: Puzzling difference between lists and tuples

2020-09-18 Thread Grant Edwards
On 2020-09-18, Chris Angelico wrote: > On Fri, Sep 18, 2020 at 10:53 AM Grant Edwards > wrote: >> >> On 2020-09-17, MRAB wrote: >> >> The only time the parentheses are required for tuple building is when >> >> they would otherwise not be interpreted that way: >> >> >> > They're needed for the emp

Re: Asyncio Queue implementation suggestion

2020-09-18 Thread Barry Scott
> On 17 Sep 2020, at 15:51, Dennis Lee Bieber wrote: > > On Wed, 16 Sep 2020 13:39:51 -0400, Alberto Sentieri <2...@tripolho.com> > declaimed the following: > > >> devices tested simultaneously, I soon run out of file descriptor. Well, >> I increased the number of file descriptor in the appl

celery multi celery.exceptions.TimeoutError: The operation timed out

2020-09-18 Thread iMath
I followed the official [Celery guide](https://docs.celeryproject.org/en/stable/getting-started/next-steps.html#in-the-background) to learn, everything works well when using `celery -A proj worker -l info` to start the worker, however , if I run the worker in the background using `celery multi