Re: [Tutor] Copying Files

2011-06-30 Thread Prasad, Ramit
-Original Message- From: tutor-bounces+ramit.prasad=jpmchase@python.org [mailto:tutor-bounces+ramit.prasad=jpmchase@python.org] On Behalf Of gagnr...@verizon.net Sent: Thursday, June 30, 2011 1:03 PM To: tutor@python.org Subject: [Tutor] Copying Files I was using glob and shutil

[Tutor] Copying Files

2011-06-30 Thread gagnrath
I was using glob and shutil to copy logs from one location to another successfully, however, I have run into a snag when trying to copy a directory. Not sure how to fix this. Current Code is as follows: for file in glob.glob("/drbd1/monitorcenter/Apps/WEB-INF/*"): #This line is holding up

Re: [Tutor] copying files and regular expressions

2006-05-01 Thread Danny Yoo
On Mon, 1 May 2006, Alfonso wrote: > I'm totally new to python. I would like to know, how can I copy files > using regular expressions (the equivalent in python to unix "cp > /home/mycount/*partialname* /home/mycount/directory/"). Hi Alfonso, Just as a pedantic note: the above pattern you're

[Tutor] copying files and regular expressions

2006-05-01 Thread Alfonso
I'm totally new to python. I would like to know, how can I copy files using regular expressions (the equivalent in python to unix "cp /home/mycount/*partialname* /home/mycount/directory/"). __ LLama Gratis a cualquier PC del Mundo. L