Is it possible to get whole commandline include redirection.., etc

2007-01-12 Thread postindex
Can I get whole commandline not only argument list.

1. When I command like this
$ a.py > filename
2. sys.argv is returns only argument list
['a.py']

Is there a way to find out 'redirection' information.

thank you for reading this

-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Is it possible to get whole commandline include redirection.., etc

2007-01-13 Thread postindex
Thanks Steven.

-- 
http://mail.python.org/mailman/listinfo/python-list