Pycharm may not auto-code completion

Asked 2 years ago, Updated 2 years ago, 294 views

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?

Tried

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

python pycharm

2022-09-30 22:05

1 Answers

Lowering the Library version is now auto-complemented.


2022-09-30 22:05

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.