Re: If you have Python Cookbook, 3rd ed.

2021-05-21 Thread Terry Reedy
On 5/19/2021 2:57 PM, Terry Reedy wrote: can you verify that the Algorithm chapter (near end in 2nd ed.) does *NOT* have an introduction by Tim Peters? (Info needed to verify timeit doc correction https://github.com/python/cpython/pull/21744) Thank you to 2 respondents. I have gone ahead with

Re: Use Chrome's / Firefox's dev-tools in python

2021-05-21 Thread Chris Angelico
On Sat, May 22, 2021 at 3:55 AM max pothier wrote: > > Hello, > Thanks for you answer! > Actually my goal is not to automatically get the file once I open the page, > but more to periodically check the site and get a notification when there's > new homework or, at the morning, know when an hour

Instantiating abstract classes

2021-05-21 Thread Peter Otten
Usually an abstract class cannot be instantiated: >>> from abc import ABCMeta, abstractmethod >>> from fractions import Fraction >>> class A(Fraction, metaclass=ABCMeta): @abstractmethod def frobnicate(self): pass >>> A() Traceback (most recent call last): File "", lin

Re: Use Chrome's / Firefox's dev-tools in python

2021-05-21 Thread max pothier
Hello, Thanks for you answer! Actually my goal is not to automatically get the file once I open the page, but more to periodically check the site and get a notification when there's new homework or, at the morning, know when an hour is cancelled, so I don't want to have to open the browser every

Re: If you have Python Cookbook, 3rd ed.

2021-05-21 Thread Bischoop
On 2021-05-19, Terry Reedy wrote: > can you verify that the Algorithm chapter (near end in 2nd ed.) does > *NOT* have an introduction by Tim Peters? > (Info needed to verify timeit doc correction > https://github.com/python/cpython/pull/21744) Preface .. xi 1.Data Structure adn Algorithms...

Python at SpaceX

2021-05-21 Thread Terry Reedy
https://stackoverflow.blog/tag/software-in-space/ has 4 links to interviews. 2 specifically mention Python. https://stackoverflow.blog/2021/05/11/testing-software-so-its-reliable-enough-for-space/ "Python “is for backend test running, build orchestration, and all our web servers are python-base

Re: Unexpected Inheritance Problem

2021-05-21 Thread Grant Edwards
On 2021-05-20, Terry Reedy wrote: > On 5/20/2021 2:53 PM, Grant Edwards wrote: >> On 2021-05-20, Mats Wichmann wrote: >> >>> many fonts squish together repeated underscores in the display so it's >>> hard to see this visually, >> >> Is it just me, or does it seem foolish to use such fonts for >>

Re: Python install failing. Install log is available.

2021-05-21 Thread Michael Torrie
On 5/21/21 8:25 AM, Mats Wichmann wrote: > An install for all users will drop it into someplace different - by > default at the top of the drive, so e.g. C:\Python39. I just did an install of 3.9 on Windows 10. There was an option to install the launcher for all users but no option for installing

Re: Python install failing. Install log is available.

2021-05-21 Thread Mats Wichmann
On 5/21/21 4:21 AM, jan via Python-list wrote: OK, but 1. should the installer work for administrator + all users or not? 2. if not, should the installer work for me (a non-admin) and install python correctly and successfully for my account if I run it in my account, not the admin? It should,

Re: Python install failing. Install log is available.

2021-05-21 Thread jan via Python-list
OK, but 1. should the installer work for administrator + all users or not? 2. if not, should the installer work for me (a non-admin) and install python correctly and successfully for my account if I run it in my account, not the admin? thanks jan On 20/05/2021, Terry Reedy wrote: > On 5/20/20