To Python List Moderator

2005-08-31 Thread David Fickbohm
Can you please remove me from the list starting tomorrow I am going an a weeks vacation.
I do not want people to get the "Dave Fickbohm is out of the office" message over and over
If I could be reinstated as of 9/12/05  it would be appreciated.
Thanks
DaveDave FickbohmUse Technology to the Fullest1250 45th st suite 200Emeryville, CA, 94608510 594 4151 voice-- 
http://mail.python.org/mailman/listinfo/python-list

How to execute python script in Windows

2005-08-23 Thread David Fickbohm
People,
Can someone please tell me how to execute a python script in windows?
Thanks
DaveDave FickbohmUse Technology to the Fullest1250 45th st suite 200Emeryville, CA, 94608510 594 4151 voice-- 
http://mail.python.org/mailman/listinfo/python-list

trying to check the creation date of a file

2005-08-19 Thread David Fickbohm
People,

I am trying to determine the creation date of files in a folder. 
I am using the following code to find the folder and confirm that files
exist in the folder.  If someone could give me an idea how to check a
creation date it would be appreciated.
Thanks
dave

def delete_old_files  (t:\dm\~\users)
# find files and delete files created more than XX number of days
ago 
update_exist = 0

input_dir = t:\dm\~\users\.yy\

if os.path.exists (input_dir) :
files = os.listdir (input_dir)
else:
print "Unable to find input file dir: %s !!!" % input_dir
sys.exit(2)

if len(files):
for file in files :

file = os.path.join(input_dir) #all files in output
directory will be csv or xls, can be deleted if old enough   

if os.path.isfile(file):   #need to check ext not file, file
name changes each day
if re.search(t:\dm\~\users\x\) and  #creation date
gt x number of days ago 
t:\dm\~\users\davef.input_list.delete(file)

file_delete = 1

if file_delete:

print "\n file deleted: \n%s" %
str(t:\dm\~\users\x.input_list)

return file_delete 

Dave Fickbohm
Data Mining Analyst
Homegain+
1250 45th St.
Emeryville, CA, 94608
Phone 510 594 4151 - Voice
  510 655 0848 - Fax


-- 
http://mail.python.org/mailman/listinfo/python-list


looking for a book on python

2005-07-21 Thread David Fickbohm
People,
could someone please recommend a book on python. Ideally a windows oriented one ?
Thanks
DaveDave FickbohmUse Technology to the Fullest1250 45th st suite 200Emeryville, CA, 94608510 594 4151 voice__Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- 
http://mail.python.org/mailman/listinfo/python-list

looking for an introduction to python book

2005-07-20 Thread David Fickbohm
People,
I am looking for an introduction to python book.  Hopefully with a windows orientation
ThanksDaveDave FickbohmUse Technology to the Fullest1250 45th st suite 200Emeryville, CA, 94608510 594 4151 voice
		Do you Yahoo!? 
Read only the mail you want - Yahoo! Mail SpamGuard.-- 
http://mail.python.org/mailman/listinfo/python-list