Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot find reference
#6
I need to look a the post more carefully. The problem is that you cannot do from module import add as a. You can import module as a and you can do from module import a, but you cannot do both. You are only allowed to rename namespaces, not items in the namespace.
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,637 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