Re: Converting from shell to python

2011-02-21 Thread Peter Otten
Rita wrote: > Hello, > > I have been using shell for a "long" time and I decided to learn python > recently. So far I am liking it a lot especially the argparse module which > makes my programs more professional like. > > > Currently, I am rewriting my bash scripts to python so I came across a

Re: Converting from shell to python

2011-02-21 Thread Ritesh Nadhani
Hello cmd is already a list after cmd.split(). So, suprocess.Popen(cmd, ) On Mon, Feb 21, 2011 at 8:33 AM, Rita wrote: > Hello, > > I have been using shell for a "long" time and I decided to learn python > recently. So far I am liking it a lot especially the argparse module which > makes m

Converting from shell to python

2011-02-21 Thread Rita
Hello, I have been using shell for a "long" time and I decided to learn python recently. So far I am liking it a lot especially the argparse module which makes my programs more professional like. Currently, I am rewriting my bash scripts to python so I came across a subprocess and environment pr