Message104833
| Author |
olemis |
| Recipients |
olemis, tarek |
| Date |
2010年05月03日.12:43:56 |
| SpamBayes Score |
0.00025734236 |
| Marked as misclassified |
No |
| Message-id |
<1272890639.26.0.821067455807.issue8604@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Often I have the contents to be written in a file at a given path that
I know as well. I recently tried to find a function in stdlib to do
that and to my surprise this is what I found :
- Such function exists
- It's `distutils.file_util.write_file`
IMO the last place where people'd look for such a function is inside
`distutils` package. Besides I reviewed modules listed under `File and
directory access` category in `Library Reference` and found nothing
even similar.
The idea is to provide a a similar function in `shutils` module |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年05月03日 12:43:59 | olemis | set | recipients:
+ olemis, tarek |
| 2010年05月03日 12:43:59 | olemis | set | messageid: <1272890639.26.0.821067455807.issue8604@psf.upfronthosting.co.za> |
| 2010年05月03日 12:43:57 | olemis | link | issue8604 messages |
| 2010年05月03日 12:43:57 | olemis | create |
|