Python Forum
tkinter GUI, problem running seperate files
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
tkinter GUI, problem running seperate files
#13
No that was a pretty straight forward explanation -- now I cannot tell you exactly what is happening per-sae but I can tell you what it sounds like to me -- the python/pyqt platform that the interpreted python/pyqt code runs on is some how getting applied to your initial call but then when you make that outside call to another *.py file (?? which I do not understand why your are doing that without having imported it into your main program) that is not getting brought properly onto the python/pyqt platform -- possibly because its not designed to do that or if it is will probably require something special to do so -- now if you are running from within (or upon) the python/pyqt platform (via say a terminal emulator and having typed the "python" command) and you start your program from there yes it may work because everything you call will be placed upon that platform automatically

Still this brings us back to that question -- why are you accessing exterior *.py files from within a *.py program instead of importing that *.py file and then referencing the code within that file?
Reply


Messages In This Thread
RE: tkinter GUI, problem running seperate files - by Denni - Sep-25-2019, 09:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] Help running a loop inside a tkinter frame Konstantin23 3 1,788 Aug-10-2023, 11:41 AM
Last Post: Konstantin23
  Why is the program not running? Is there a logical or syntax problem? behi00 10 2,347 Apr-01-2023, 12:50 AM
Last Post: woooee
  [Tkinter] Have tkinter button toggle on and off a continuously running function AnotherSam 5 5,198 Oct-01-2021, 05:00 PM
Last Post: Yoriz
  Python3 tkinter radiobutton problem Nick_tkinter 14 6,403 Feb-15-2021, 11:01 PM
Last Post: Nick_tkinter
  tkinter python button position problem Nick_tkinter 3 3,708 Jan-31-2021, 05:15 AM
Last Post: deanhystad
  [Tkinter] ClockIn/Out tkinter problem Maryan 2 2,326 Oct-12-2020, 03:42 AM
Last Post: joe_momma
  tkinter| listbox.insert problem Maryan 3 3,681 Sep-29-2020, 05:34 PM
Last Post: Yoriz
  Tkinter problem DPaul 6 4,336 May-28-2020, 03:40 PM
Last Post: DPaul
  [Tkinter] Tkinter - I have problem after import varaible or function from aGUI to script johnjh 2 2,682 Apr-17-2020, 08:12 PM
Last Post: johnjh
  [Tkinter] Problem with tkinter when creating .exe file Jan_97 2 4,730 Feb-27-2020, 05:17 PM
Last Post: Jan_97

Forum Jump:

User Panel Messages

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