The cells at the bottom of this code are supposed to be .c
typing .cell(row=, column=)...
but they don't complement the code.
This sometimes happens other than this time.
How can I fix it?
Modules are available when typing by themselves, although code completion is not done
The auto-complementation of openpyxl did not change after reinstalling without complementing all of them.
import openpyxl
default_workbook(workbook_name):
try:
workbook=openpyxl.load_workbook(r"C:\Users\406429\Documents\GitHub\Pythontest\"+workbook_name, data_only=True)
Failed to read print(f"{workbook_name}.")
return workbook
mailaddress_list=workbooks[2]
mailaddress_list_sheet=mailaddress_list ["Sheet1"]
phonenum_list_sheet = phonenum_list ["Line Number Information" ]
cells=mailaddress_list_sheet.cell(row=1, column=1).value
Lowering the Library version is now auto-complemented.
© 2024 OneMinuteCode. All rights reserved.