Message92051
>>> import mimetypes
>>> mimetypes.guess_extension("text/plain")
'.ksh'
most others are correct, it is just this one is quite wrong. I would
recommend changing it to .txt .
>>> mimetypes.guess_all_extensions("text/plain")
['.ksh', '.pl', '.c', '.bat', '.h', '.txt', '.asc', '.text', '.pot', '.brf'] |
|
Date |
User |
Action |
Args |
2009-08-29 00:10:11 | ptarjan | set | recipients:
+ ptarjan |
2009-08-29 00:10:11 | ptarjan | set | messageid: <1251504611.25.0.614751141151.issue6799@psf.upfronthosting.co.za> |
2009-08-29 00:10:09 | ptarjan | link | issue6799 messages |
2009-08-29 00:10:09 | ptarjan | create | |
|