Re: installation problem

2019-10-24 Thread Terry Reedy
On 10/23/2019 9:43 PM, MRAB wrote: On 2019-10-24 00:47, fateme jbr wrote: Dear Python team I have installed Python 3.7.4 on windows 10. I have access to IDLE and I can run simple programs, but when I type python in command window nothing happens. What 'command window' do you mean? Windows' C

Re: Instantiating sub-class from super

2019-10-24 Thread DL Neil via Python-list
On 25/10/19 4:29 AM, Frank Millman wrote: On 2019-10-19 12:37 AM, DL Neil via Python-list wrote: On 16/10/19 6:33 PM, Frank Millman wrote: On 2019-10-14 10:55 PM, DL Neil via Python-list wrote: Is there a technique or pattern for taking a (partially-) populated instance of a class, and re-crea

Re: keying by identity in dict and set

2019-10-24 Thread Steve White
Regarding my question "Is there some fatal reason that this approach must never be used, besides the lack of documentary support for it?" If finally dawned on me that there is a use-case for containers that would preclude using object identity for keys. That is, if the object is to be seriali

Re: Blasphemy

2019-10-24 Thread Chris Angelico
On Fri, Oct 25, 2019 at 9:54 AM Marek Mosiewicz wrote: > > What about, if Python would have optional end keyword. In fact most of > blocks have starting : sign. What if you would have also keyword to > optionaly mark end of block. > > That would be big win for IDEs to format code and ensure that t

Re: Blasphemy

2019-10-24 Thread Andrew Z
Space. On Thu, Oct 24, 2019, 18:53 Marek Mosiewicz wrote: > What about, if Python would have optional end keyword. In fact most of > blocks have starting : sign. What if you would have also keyword to > optionaly mark end of block. > > That would be big win for IDEs to format code and ensure tha

Blasphemy

2019-10-24 Thread Marek Mosiewicz
What about, if Python would have optional end keyword. In fact most of blocks have starting : sign. What if you would have also keyword to optionaly mark end of block. That would be big win for IDEs to format code and ensure that there is no problems with intendation. There could be some keyword t

How to debug asyncio.exceptions.CancelledError?

2019-10-24 Thread Joshua Gardner
I'm using a library for Django Channels that I've somehow misconfigured and is causing asyncio.exceptions.CancelledError when trying to connect a websocket. Because of how the stack isn't particularly straightforward with asyncio I'm at a loss to debug this. Any tips to find out what's going on?

Re: Congratulations to @Chris

2019-10-24 Thread Chris Angelico
On Fri, Oct 25, 2019 at 7:20 AM DL Neil via Python-list wrote: > > Chris Angelico: [PSF's] 2019 Q2 Community Service Award Winner > http://pyfound.blogspot.com/2019/10/chris-angelico-2019-q2-community.html > > ...and for the many assistances and pearls of wisdom he has contributed > 'here'! Thank

Congratulations to @Chris

2019-10-24 Thread DL Neil via Python-list
Chris Angelico: [PSF's] 2019 Q2 Community Service Award Winner http://pyfound.blogspot.com/2019/10/chris-angelico-2019-q2-community.html ...and for the many assistances and pearls of wisdom he has contributed 'here'! -- Regards, =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Instantiating sub-class from super

2019-10-24 Thread Frank Millman
On 2019-10-19 12:37 AM, DL Neil via Python-list wrote: On 16/10/19 6:33 PM, Frank Millman wrote: On 2019-10-14 10:55 PM, DL Neil via Python-list wrote: Is there a technique or pattern for taking a (partially-) populated instance of a class, and re-creating it as an instance of one of its sub-c

Re: graphics with python

2019-10-24 Thread Peter Pearson
On Thu, 24 Oct 2019 16:06:21 +0800, Maggie Q Roth wrote: [snip] > Can you show me the correct way to programming with graphics? > > I want to take some action detection, for instance, recognize dancing etc. That description of your goals is very vague. The more specific you can be about what you

Pytthon 3.8.0 Installation failed

2019-10-24 Thread Yu Cai
Hi, I got an issues while installing python 3.8.0. If I choose to install Python 3.8.0 using default configuration, then everything is going well. However, if I choose to install it using customized settings, e.g., installation folder being “c:\python38”, and “Download debugging symbols” and “Do

graphics with python

2019-10-24 Thread Maggie Q Roth
Hello Can you show me the correct way to programming with graphics? I want to take some action detection, for instance, recognize dancing etc. Thanks, Maggie -- https://mail.python.org/mailman/listinfo/python-list

Re: installation problem

2019-10-24 Thread Paul Moore
On Thu, 24 Oct 2019 at 00:50, fateme jbr wrote: > > Dear Python team > > I have installed Python 3.7.4 on windows 10. I have access to IDLE and I > can run simple programs, but when I type python in command window nothing > happens. I wanna install pip and afterward some libraries and it is when >