Python Forum
how to create python modal forms
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to create python modal forms
#1
I am brand new to Python and I need some help with modality. I would like to set up an application say codeA.py screen with some buttons that call other python forms codeB.py, codeC.py etc. I need to know how codeA.py would call these (either codeB.py, codeC.py etc.) in a modal state and also how I could pass data back to codeA.py. I have found at the following statements that I loaded into codeA.py
import os 
os.system('python codeB.py'

from subprocess import Popen
Popen('python codeB.py')

from subprocess import call
call(["python", "codeB.py"]) )
which do open the codeB.py form but it needs to be modal and neither of these statements seem to allow for return data.

Can anyone suggest how this could be done with some example coding?

Shaun.
Reply


Messages In This Thread
how to create python modal forms - by shaun - Jan-17-2018, 12:45 PM
RE: how to create python modal forms - by shaun - Jan-17-2018, 01:46 PM
RE: how to create python modal forms - by hshivaraj - Jan-17-2018, 02:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  difference between forms of input a list to function akbarza 6 1,324 Feb-21-2024, 08:02 PM
Last Post: bterwijn
  2 forms of this tool grep command Lylyhannah 0 2,065 Jan-21-2019, 08:21 AM
Last Post: Lylyhannah
  Python with email forms, and frontend code in general MattH 4 3,565 Feb-18-2018, 03:29 AM
Last Post: MattH

Forum Jump:

User Panel Messages

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