[Tutor] what to do with python
David Ascher
da@ski.org
Tue, 18 May 1999 12:58:54 -0700 (Pacific Daylight Time)
On Tue, 18 May 1999, Ron Fountain wrote:
> I would like to write scripts that will backup various files, either on the
> linux box or through the network(grabbing files from other nodes). I would
> also like to setup a script that would be able to "route" data files
> according to what kind of file they are. If file = "A" then go here...if
> file = "B" then do this --type of thing.
>
> Is python what i would use, or something else?
You could certainly use Python to do this. Modules of interest are "os",
"os.path", "sys", "ftplib", etc.
(documentation available at www.python.org/doc).
-david ascher