[SOLVED]: Copying a file with a question mark in it's name in Windows

2010-08-17 Thread drodrig
On Aug 12, 9:16 am, Aleksey wrote: > On 12 авг, 18:49,drodrig wrote: > > > A python script I use to backup files on a Windows 2003 server > > occasionally fails to retrieve the size of a file with a question mark > > in the name. The exception I get is "OSError #12

Copying a file with a question mark in it's name in Windows

2010-08-12 Thread drodrig
A python script I use to backup files on a Windows 2003 server occasionally fails to retrieve the size of a file with a question mark in the name. The exception I get is "OSError #123 The filename, directory name, or volume label syntax is incorrect". I realize that technically a question mark in t

Re: Kill process based on window name (win32)

2006-08-13 Thread drodrig
reat for a standalone app, it fails as a service because the window handles of each user are not retrievable (I should say I don't know how to retrieve them). Is this even possible? I looked at some of the Windows API calls but nothing stuck out. Suggestions? drodrig wrote: > Thank you Roger. Y

Re: Kill process based on window name (win32)

2006-08-12 Thread drodrig
rocess(handle,0) win32api.CloseHandle(handle) except: pass: Roger Upole wrote: > drodrig wrote: > > Hi. > > > > I am trying to close/kill all processes that show visible windows on > > Windows XP. So far I've created a script that uses win32gui.EnumWindows > > to ite

Kill process based on window name (win32)

2006-08-11 Thread drodrig
Hi. I am trying to close/kill all processes that show visible windows on Windows XP. So far I've created a script that uses win32gui.EnumWindows to iterate through all windows, check for which windows are visible, then send a WM_CLOSE message to the window to request that it closes. Of course, not

Re: Enhanced Listbox

2006-08-04 Thread drodrig
ooyen wrote: > "drodrig" <[EMAIL PROTECTED]> > > > | My apologies if this question has been asked an answered. > | > | I am looking for a tkinter grid control or enhanced listbox that can > | act as a "receipt" for a cash register program. I would like

Enhanced Listbox

2006-08-03 Thread drodrig
My apologies if this question has been asked an answered. I am looking for a tkinter grid control or enhanced listbox that can act as a "receipt" for a cash register program. I would like the widget to contain a visible grid of columns and rows. I've tried binding multiple listboxes to a scrollbar