Message190403
| Author |
sonyachiko |
| Recipients |
berker.peksag, sonyachiko |
| Date |
2013年05月31日.11:53:13 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1370001194.13.0.191223951295.issue18039@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Here is the output.
*** Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:03:43) [MSC v.1600 32 bit (Intel)] on win32. ***
*** Remote Python engine is active ***
>>>
*** Remote Interpreter Reinitialized ***
>>>
<dbm.dumb._Database object at 0x02B95210>
yoqaA.dat exists? True
yoqaA.dir exists? True
b'hello' b'there'
>>>
I would like to focus your attention, that flag "n" creates a database, but does not overwrite it once it is created. So in Windows case there is no difference between "c" and "n" flag.
You can have a look at this link where it was originally discussed.
http://stackoverflow.com/questions/16647131/how-to-empty-dbm-file-in-python-efficiently |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年05月31日 11:53:14 | sonyachiko | set | recipients:
+ sonyachiko, berker.peksag |
| 2013年05月31日 11:53:14 | sonyachiko | set | messageid: <1370001194.13.0.191223951295.issue18039@psf.upfronthosting.co.za> |
| 2013年05月31日 11:53:14 | sonyachiko | link | issue18039 messages |
| 2013年05月31日 11:53:13 | sonyachiko | create |
|