Re: Best Practice Question

2013-02-05 Thread Anthony Correia
On Tuesday, February 5, 2013 10:17:54 AM UTC-5, pytho...@tim.thechases.com wrote: > On Tue, 5 Feb 2013 15:32:32 +0100 (CET), Jean-Michel Pichavant wrote: > > > By the way, did someone ever notice that r'\' fails ? I'm sure > > > there's a reason for that... (python 2.5) Anyone knows ? > > > >

Best Practice Question

2013-02-04 Thread Anthony Correia
Just started learning Python. I just wrote a simple copy files script. I use Powershell now as my main scripting language but I wanted to extend into the linux platform as well. Is this the best way to do it? import os objdir = ("C:\\temp2") colDir = os.listdir(objdir) for f in

Opinion on best practice...

2013-02-04 Thread Anthony Correia
I need to pick up a language that would cover the Linux platform. I use Powershell for a scripting language on the Windows side of things. Very simple copy files script. Is this the best way to do it? import os objdir = ("C:\\temp2") colDir = os.listdir(objdir) for f in colDir: