Python Forum
Issue while importing variable from one file to other
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue while importing variable from one file to other
#1
I created a GUI using tkinter having nine different classes and all classes are in one one script file. I'm getting issue when trying to use one variable define in one class function of a file and used in another file of a class but getting error like not able to import or global variable not define
I tried all ways to import module such as
Import X, from X import *, from X import X, from X import a,b,c and X = __import__()
Any solution to this issue will be appreciated
Reply


Messages In This Thread
Issue while importing variable from one file to other - by mamta_parida - Aug-24-2018, 05:23 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] Issue with calling a Class/Method in GUI File Fre3k 3 3,185 Mar-08-2020, 12:35 PM
Last Post: Fre3k

Forum Jump:

User Panel Messages

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