Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot find reference
#1
Hello,
I have imported the module named 'module' and I am trying to use the members in another file, I have installed packages as well, why do I still get 'Cannot find reference'? I will get correct output though.

from module import add as a, name as name, death as death, product as p
print(name)
print(death)
a(10, 20)
print("the product of num is",p(10, 20))

When googled, it says, it is a bug in Pycharm. Thank you.
Reply


Messages In This Thread
Cannot find reference - by spalisetty06 - Aug-28-2020, 01:10 PM
RE: Cannot find reference - by deanhystad - Aug-28-2020, 01:23 PM
RE: Cannot find reference - by spalisetty06 - Aug-28-2020, 01:26 PM
RE: Cannot find reference - by deanhystad - Aug-28-2020, 01:29 PM
RE: Cannot find reference - by spalisetty06 - Aug-28-2020, 01:34 PM
RE: Cannot find reference - by deanhystad - Aug-28-2020, 01:40 PM
RE: Cannot find reference - by spalisetty06 - Aug-28-2020, 01:44 PM
RE: Cannot find reference - by deanhystad - Aug-28-2020, 01:52 PM
RE: Cannot find reference - by spalisetty06 - Aug-28-2020, 01:55 PM
RE: Cannot find reference - by snippsat - Aug-28-2020, 02:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pass by object reference when does it behave like pass by value or reference? mczarnek 2 2,594 Sep-07-2020, 08:02 AM
Last Post: perfringo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020