[Tutor] Re:[Tutor]Question on python

sachin mehra bindas_qwerty@hotmail.com
Wed Nov 20 19:33:01 2002


Hi,
Well I want to use the following commands:
tr -cs '[:aplha:]' '[\n*]' < *.txt | uniq -c | sort -rm | more

Which would give me a count of unique words in a .txt file..
How can i use this..I have already tried the os.system option!!
I may need to use this command(or similar type) a few more times..How can I 
do it in python?
Thanx,
manish




_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail