Home > other > Weird problems said error function name is not defined
Weird problems said error function name is not defined
Time:09-24
Function of reference documents clearly has an import *, suddenly appeared this problem, did not appear before, didn't also change what things ah,,
Strange place lies in, suppose you have the main documents, B and C file function definition in C: XXX Main reference XXX, no problem, can through; The correct reference XXX, B The main and B are introduced C,,,
CodePudding user response:
Try not to use the import *, you direct import C file (C.p y), and then call the other py file when in use C.x xx, otherwise easy and pycharm built-in function name repeated problems can't check it out