Hi honortao666,
Are you trying to run this script in the openLCA Python editor?
I believe people developing olca2bw might be better suited to help you.
Best,
François