Importing Excel data to Drive Simulation

①place openpyxl into site-packages folderPlace openpyxl in the site-packages folder

②Place jdcal.py in the lib folder

Place jdcal.py in the lib folder

③ The following error occurred at runtime

error code

④So I downloaded et_xmlfile-1.0.1 again and put et_xmlfile into the site-packages folder

et_xmlfile

The reference aspect is fine, but the runtime error is as follows:

from vcScript import *
from openpyxl import workbook

def OnSignal( signal ):
  pass

def OnRun():
  wb=workbook()
  ws=wb.active()

TypeError: ‘module’ object is not callable

Ask everybody to help me, how should be correct operation method?

 

1 Like