Help Needed. Removing a Folder Problem

2006-07-20 Thread Kilicaslan Fatih
When I push a button to trigger the code: def run(self, event): cmd_out = self.A_com() if App.runF != : os.mkdir('C:\copiedFiles') for item in App.runF: App.beCopied = str(item)

Re: Help Needed. Removing a Folder Problem

2006-07-20 Thread Kilicaslan Fatih
. You should take a look at the subprocess module and use something like (not tested): retcode = call([r' C:\copiedfiles\*.*', cmd_out]) This will wait for execution of to complete prior to returning. -Larry Bates Kilicaslan Fatih wrote: When I push a button to trigger

Re: Help Needed. Removing a Folder Problem(Problem Solved)

2006-07-20 Thread Kilicaslan Fatih
. You should take a look at the subprocess module and use something like (not tested): retcode = call([r' C:\copiedfiles\*.*', cmd_out]) This will wait for execution of to complete prior to returning. -Larry Bates Kilicaslan Fatih wrote: When I push a button to trigger

Re: Help Needed. Removing a Folder Problem(Problem Solved)

2006-07-20 Thread Kilicaslan Fatih
. You should take a look at the subprocess module and use something like (not tested): retcode = call([r' C:\copiedfiles\*.*', cmd_out]) This will wait for execution of to complete prior to returning. -Larry Bates Kilicaslan Fatih wrote: When I push a button to trigger

Re: Help Needed. Removing a Folder Problem(Problem Solved)

2006-07-20 Thread Kilicaslan Fatih
. You should take a look at the subprocess module and use something like (not tested): retcode = call([r' C:\copiedfiles\*.*', cmd_out]) This will wait for execution of to complete prior to returning. -Larry Bates Kilicaslan Fatih wrote: When I push a button to trigger

Help Needed !!! Browsing and Selecting More Than One File(Problem Solved)

2006-07-10 Thread Kilicaslan Fatih
Special Thanks to Diez B. Roggisch and Eric Brunel. Last week on Friday I solved the problems I encountered thanks to your helpful indications. I think I covered all the ambiguity in my code. Here's the code: # executing with Python from Tkinter import * from tkFileDialog import * import

Help Needed !!! Browsing and Selecting More Than One File

2006-07-07 Thread Kilicaslan Fatih
Thank you very much for your indications. I've just subscribed for the group and even I don't know how to reply directly through mailing list. I will try to answer some of the questions you have asked about my program. Question: What has it to do with running your program with several file names

Help Needed !!! Browsing and Selecting More Than One File

2006-07-06 Thread Kilicaslan Fatih
Dear All, I am trying to create a GUI, using Tkinter on Windows 2000/XP using Python 2.2. Through buttons this GUI interacts with another program and assigns argument to that program. I managed to browse a .c file and assign this file as an argument to the other program written in C/C++

Help Needed !!! Browsing and Selecting More Than One File

2006-07-06 Thread Kilicaslan Fatih
Dear Diez B. Roggisch, After clicking a button on the GUI the user can browse and than select a .c file to assign to the other program I have mentioned. But in this way I can only select one file. I don't know how to implement this application for all of the *.c files in a folder. Do I need to