Dear friends,
is there a way to execute a dos command in a frame inside a wx.window GUI (and not in the usual external window)?
Thanks
giancan
0
Light Poster
Recommended Answers
Jump to PostNo, I think. You must execute the command by yourself. wx is only for window management.
Jump to PostTake a look at:
http://www.daniweb.com/software-development/python/code/445504/an-almost-ide-wxpythonShould have enough hints how to do this with wxPython.
Basically ...
# using module subprocess to get the # directory of drive C:\ # Python27 code import subprocess p = subprocess.Popen("dir C:\\", shell=True, stdout=subprocess.PIPE) # allow external program to work …
All 5 Replies
TrustyTony
888
pyMod
Team Colleague
Featured Poster
giancan
0
Light Poster
vegaseat
1,735
DaniWeb's Hypocrite
Team Colleague
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
sneekula
969
Nearly a Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.