"Newbie" questions - "unique" sorting ?

John Fitzsimons xpm4senn001 at sneakemail.com
Fri Jun 20 08:34:54 CEST 2003


On Thu, 19 Jun 2003 12:53:26 -0700, "Cousin Stanley"
<CousinStanley at hotmail.com> wrote:

Hi Cousin Stanley

>| (B) I am wanting to sort words (or is that strings ?)
>| into a list from a clipboard and/or file input and/or....

>| (C) To sort out the list of "unique" words/strings.


>http://fastq.com/~sckitching/Python/word_list.zip
>[ 2 KB ]

Many thanks.  :-)

< snip >

Perhaps I did something wrong ? Does anyone here know how 
to make things work ? This is what I got in a DOS window in '98 :


C:\Python>python word_list.py word_source.txt >word_target.txt
Traceback (most recent call last):
  File "word_list.py", line 39, in ?
    file_out  = file( path_out  , 'w' )
IOError: [Errno 13] Permission denied: 'word_target.txt'


Regards, John.





More information about the Python-list mailing list