Possible Addition to Python Language: Marked Sub-condition

2020-03-08 Thread Shrinivas Kulkarni
Hello Everyone While writing python code, I frequently come across the need to do certain tasks based on combined conditions. Much of the task for all the sub-conditions are common but some are specific to one or more of these sub-conditions. A simplified example: ## Cod

EuroPython 2020: Launching the conference website

2020-03-08 Thread M.-A. Lemburg
We are very excited to announce the launch of our website for EuroPython 2020: * EuroPython 2020 Website * https://ep2020.europython.eu/ Our web WG worked hard on putting the finishing touches on the website and many other team members helped update the

Re: Possible Addition to Python Language: Marked Sub-condition

2020-03-08 Thread Paul Moore
On Sun, 8 Mar 2020 at 15:02, Shrinivas Kulkarni wrote: > > Hello Everyone > > While writing python code, I frequently come across the need to do > certain tasks based on combined conditions. > > Much of the task for all the sub-conditions are common but some are > specific to one or more of these

Re: Possible Addition to Python Language: Marked Sub-condition

2020-03-08 Thread MRAB
On 2020-03-08 10:05, Shrinivas Kulkarni wrote: Hello Everyone While writing python code, I frequently come across the need to do certain tasks based on combined conditions. Much of the task for all the sub-conditions are common but some are specific to one or more of these sub-conditions. A si

Re: EuroPython 2020: Launching the conference website

2020-03-08 Thread Souvik Dutta
I have a suggestion. It would be better if you could have made a packaging software that could package not only the dependencies but also the python interpreter so that we could just plug and play the application in a computer that does not has a python interpreter pre installed. The installer that

Re: Possible Addition to Python Language: Marked Sub-condition

2020-03-08 Thread DL Neil via Python-list
On 8/03/20 11:05 PM, Shrinivas Kulkarni wrote: Hello Everyone While writing python code, I frequently come across the need to do certain tasks based on combined conditions. Much of the task for all the sub-conditions are common but some are specific to one or more of these sub-conditions. The

Re: How to POST html data to be handled by a route endpoint

2020-03-08 Thread DL Neil via Python-list
On 8/03/20 8:47 AM, Richard Damon wrote: On 3/7/20 5:15 AM, Νίκος Βέργος wrote: When superhost.gr/test tries to post html form data to the route endpoint '/mailform' it sends it to superhost.gr/mailform and NOT at superhost.gr/test/mailform as it should have done. The HTML path /mailform mea

Re: Possible Addition to Python Language: Marked Sub-condition

2020-03-08 Thread Terry Reedy
On 3/8/2020 12:07 PM, MRAB wrote: In Python 3.8+ there's the "walrus operator" which lets you assign within an expression: if (first := (color == BLUE and count == 20)) or (second := (color == RED and count % 5 == 0)):     rotate_the_wheel()     if first:     set_signal()     if seco

Re: Python question

2020-03-08 Thread Peter J. Holzer
On 2020-03-05 20:49:14 -0800, Mr. Lee Chiffre wrote: > > 2. he does not trust binaries from pip. > > What is the point of open source if you cannot compile from source code? You can get the source code from pypi. I don't see any option for pip to do that, but you can easily do it manually. If yo