Newbie Question: Shell-like Scripting in Python?

Peter Hansen peter at engcorp.com
Wed Oct 2 00:20:49 EDT 2002


Scott Meyers wrote:
> Ideally, I'd like to be
> able to say something like this:
> 
>   rename foo.* bar.*
> 
> Will Python let me do that kind of thing?  If so, great.  If not, that's
> okay, too.  At this point, I'm just trying to set my expectations
> correctly.

Yes, but the best answer is for you to download the tutorial and
work through that.  (It's very simple.)  Then you can probably
answer such questions yourself or, better yet, just implement
the solutions as you think of the problems. :-)

Also, checking the Usenet or mailing list archives for similar
questions (like on the MP3 thing) before asking will probably
save you a lot of time waiting for useful answers.

-Peter




More information about the Python-list mailing list