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. -- https://mail.python.org/mailman/listinfo/python-list