Re: IDE tools to debug in Python?

2021-02-06 Thread Grant Edwards
On 2021-02-06, Barry wrote: > > >> On 6 Feb 2021, at 08:06, Grant Edwards wrote: >> >> On 2021-02-05, Schachner, Joseph wrote: >> >>> Indeed there are many. One I have not seen listed here yet, that is >>> quite light, starts quickly, but does have good debugging capability >>> is PyScripter

Log exception so traceback contains timestamp and level?

2021-02-06 Thread Skip Montanaro
The logging package can log exceptions and call stacks, but it does (in my opinion) a suboptimal job of it. Consider this simple example: >>> import logging >>> FORMAT = '%(asctime)-15s %(levelname)s %(message)s' >>> logging.basicConfig(format=FORMAT, force=True) >>> log.warning("msg", stack_info=

Re: Selenium finds object that is interactible but says otherwise

2021-02-06 Thread dn via Python-list
On 07/02/2021 08.21, Philipp Daher via Python-list wrote: > Hello, > > > I recently programmed some code for a webdriver with selenium. > I asked the program to find an input tag, which is interactible, with this: >     > searchbar=driver.find_element_by_class_name("ut-player-search-control--inpu

Selenium finds object that is interactible but says otherwise

2021-02-06 Thread Philipp Daher via Python-list
Hello, I recently programmed some code for a webdriver with selenium. I asked the program to find an input tag, which is interactible, with this:     searchbar=driver.find_element_by_class_name("ut-player-search-control--input-container") then i ask it to send keys, which has worked before too.

Re: IDE tools to debug in Python?

2021-02-06 Thread Barry
> On 6 Feb 2021, at 08:06, Grant Edwards wrote: > > On 2021-02-05, Schachner, Joseph wrote: > >> Indeed there are many. One I have not seen listed here yet, that is >> quite light, starts quickly, but does have good debugging capability >> is PyScripter. Completely free, downloadable from

Re: IDE tools to debug in Python?

2021-02-06 Thread Grant Edwards
On 2021-02-05, Schachner, Joseph wrote: > Indeed there are many. One I have not seen listed here yet, that is > quite light, starts quickly, but does have good debugging capability > is PyScripter. Completely free, downloadable from SourceForge, 32 > or 64 bit versions (must match your Python t

Re: IDE tools to debug in Python?

2021-02-06 Thread Terry Reedy
On 2/5/2021 3:34 AM, Alan Gauld via Python-list wrote: On 27/01/2021 18:32, flaskee via Python-list wrote: While print() is groovy and all, if anyone runs across a non-pdb python debugger (standalone or IDE-based) please let me know. There are many. But why must it be non-pdb? That seems rat