Message104834
| Author |
pitrou |
| Recipients |
olemis, pitrou, tarek |
| Date |
2010年05月03日.12:54:18 |
| SpamBayes Score |
0.016689882 |
| Marked as misclassified |
No |
| Message-id |
<1272891259.79.0.24960708246.issue8604@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This sounds silly to me. You can write a file in two lines:
with open("foo", "wb") as f:
f.write(contents)
If you want to do something more useful, you can add a function for atomic writing of a file. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年05月03日 12:54:19 | pitrou | set | recipients:
+ pitrou, tarek, olemis |
| 2010年05月03日 12:54:19 | pitrou | set | messageid: <1272891259.79.0.24960708246.issue8604@psf.upfronthosting.co.za> |
| 2010年05月03日 12:54:18 | pitrou | link | issue8604 messages |
| 2010年05月03日 12:54:18 | pitrou | create |
|