* 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.
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
On Dec 31, 11:08 am, riklau...@gmail.com 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
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
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
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
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 what I
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)