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