Python help

Chuck Amadi chuck at
Thu Jun 3 18:53:43 CEST 2004

Howto to run from the example with the correct parameters .

chuck at sevenofnine:~>python -d /home/chuck/Mail/Inbox msgfile get 
the following error .

chuck at sevenofnine:~> python msgfile
Traceback (most recent call last):
  File "", line 83, in ?
  File "", line 58, in main
    fp = open(msgfile)
IOError: [Errno 2] No such file or directory: 'msgfile'

chuck at sevenofnine:~>python -d /home/chuck/Mail/Inbox

chuck at sevenofnine:~>python

Thus get this prompt>

Unpack a MIME message into a directory of files.
Usage: unpackmail [options] msgfile
    -h / --help
        Print this message and exit.
    -d directory
        Unpack the MIME message into the named directory, which will be
        created if it doesn't already exist.
msgfile is the path to the file containing the MIME message.

Cheers Sorry for sounding thick please point me in the right direction on 
howto to use the python script.


More information about the Python-list mailing list