[Tutor] python newbie..system call help
jfouhy@paradise.net.nz
jfouhy at paradise.net.nz
Wed Jul 13 02:20:43 CEST 2005
Quoting Mike Pindzola <pindzola at charter.net>:
> Should I be even trying to make a system call? Is there a better way to
> talk to the shell? Either way, please enlighten me. Thanks.
There may be a better way to achieve what you want to do, without using the
shell at all. For example, the os and os.path modules include a range of
functions for manipulating files and directories (listing, walking, moving,
renaming, et cetera). Perhaps, if you say what you are trying to achieve, we
can give some pointers.
--
John.
More information about the Tutor
mailing list