Python Circular dependencies, unable to link variable to other file
问题 I am working on a program that allows me to directly edit a word document through a tkinter application. I am trying to link the tkinter input from my gui file to my main file so that I can execute my docx functions. When I try to execute my code this way, it tells me that entry in entry.get() is not defined. When I try to import this from main, I receive a circular import error. main.py from docx import Document from docx.shared import Inches import os os.chdir("\\Users\\insanepainz\Desktop"