Re: Desktop/File management support on MS Windows

2009-01-01 Thread Thorsten Kampe
* riklau...@gmail.com (Wed, 31 Dec 2008 09:08:46 -0800 (PST))> > Are there any Python libraries that can trash files (move to Trash, > not delete) or for example return a list of applications that can open > given file? I can't find anything related to this for Windows. http://timgolden.me.uk/pyt

Re: Desktop/File management support on MS Windows

2008-12-31 Thread r
On Dec 31, 11:08 am, "riklau...@gmail.com" wrote: > Are there any Python libraries that can trash files (move to Trash, > not delete) or for example return a list of applications that can open > given file? I can't find anything related to this for Windows. try pywin32 http://python.net/crew/mham

Desktop/File management support on MS Windows

2008-12-31 Thread riklau...@gmail.com
Are there any Python libraries that can trash files (move to Trash, not delete) or for example return a list of applications that can open given file? I can't find anything related to this for Windows. -- http://mail.python.org/mailman/listinfo/python-list

Re: File management

2008-10-16 Thread Ronny Sonntag
erict1689 schrieb: def closeUp(): # Purpose: end of program housekeeping global empName, previousYTD, payRate, hoursWorked, recordCount, eof, payFile, \ payFileUpdated, newYTD, currentPay payFile.close() payFileUpdated.close() print "\nNumber of records in the

Re: File Management

2008-10-15 Thread Bruno Desthuilliers
erict1689 a écrit : I am writing this program in which I open up a file and update that information but to a new file. I already have a global variable for it A global variable ??? WHY ??? but how do I go about creating an openable file in the source code? It's in the FineManual(tm) If

Re: File Management

2008-10-15 Thread Aaron "Castironpi" Brady
On Oct 15, 12:47 pm, "erict1689" <[EMAIL PROTECTED]> wrote: > I am writing this program in which I open up a file and update that > information but to a new file.  I already have a global variable for > it but how do I go about creating an openable file in the source code? >  If it helps here is wh

File management

2008-10-15 Thread erict1689
I am writing a program in which i open up a file and read the contents then do some calculations and update the information but in a new file. So my question is how do i go about declaring the new file so that the program will know that the new information goes into the new file and not the origin

File Management

2008-10-15 Thread erict1689
I am writing this program in which I open up a file and update that information but to a new file. I already have a global variable for it but how do I go about creating an openable file in the source code? If it helps here is what I have: def startUp(): # Purpose: opens files and print repo