Code improvement question

jak nospam at please.ty
Fri Nov 17 18:53:21 EST 2023


MRAB ha scritto:
> Bare excepts are a very bad idea.

I know, you're right but to test the CAS numbers were inside a string
(txt) and instead of the 'open(file)' there was 'io.StingIO(txt)' so the
risk was almost null. When I copied it here I didn't think about it.
Sorry.




More information about the Python-list mailing list