Error running scripts
Posted: Mon Feb 28, 2022 6:58 pm
Hi, I am new to using the python API. I am trying to run the files from the intro to python API 2 workshop downloaded directly from the asdea website (ex: 04_drift_opensees_sp from https://asdeasoft.net/?webinar). I input the Results.DB file. However, all the python scripts, for example 'post_processor_drift_script', that I am trying to run get the following error; "name 'os' not defined" even though it is imported in the first line of the code. Do you have any insights on this error?
Thanks in advance for your help and best regards,
Caroline
Thanks in advance for your help and best regards,
Caroline