Could not initilalize crash reporting DB

2021-09-25 Thread Sir Real via Python-list
I have a script that chooses a paragraph at random from a text file
then uses that paragraph to generate and send an email message. It's
set up to run on Windows 7 startup. It has run without issue more than
400 times.

Recently two consecutive runs produced the following messages...

Could not initialize crash reporting DB
Cannot init crashpad with status: CRASHPAD_INIT_DB_ERROR

Despite the messages the script otherwise ran as expected.

Google searches turned up nothing useful. I was hoping that maybe
someone here could tell me what these messages mean.
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Can a print overwrite a previous print ?

2020-05-08 Thread Sir Real via Python-list
On Fri, 8 May 2020 16:25:52 +0200, ast  wrote:

>Hello
>
>
>Suppose we want that:
>
>print("abcdef"); print("ghi")
>
>produces:
>
>ghidef
>
>The 2nd print overwrites the first one.
>Is it feasible ?
>
>It should since the progress bar tdqh seems to do that
>
>try:
>
>from tkdm import tkdm
>
>for i in tqdm(range(100_000_000)):
> pass
>
>It produces a progress bar like this:
>100%|???| 
>1/1 [00:56<00:00, 1781611.52it/s]


print('abcdef', end='\r'); print('ghi', end='')

-- 
https://mail.python.org/mailman/listinfo/python-list