<human>:  Python, how to enable all warnings?
<bot>: Here is some code to enable warnings using action 'always'

warnings.simplefilter('always')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.