Hi all, I am trying to get input from the file* open(sys.argv[1]). *So, while executing I will refer it as python filename.py sample_file.txt this will root to my sys.argv[]. So I need to follow the same but I also need to give input Example : python filename.py <input_text> <sample_file.txt>. How should I do coding for this.
Thanks in Advance, Santhosh V.Kumar
-- http://mail.python.org/mailman/listinfo/python-list