2

I want to create database by shelve module in Python2.7.5 . But, the shelve module create different database file on my two Environment.

case of MacBookAir

import shelve
shelve.open("todo") # -> create 'todo.db'

case of Windows7

import shelve
shelve.open("todo") # -> create 'todo'

MacBookAir and Windows7, Both are using the same Python2.7.5. I've checked difference of shelve module source code, But I din't found any difference.

Why?

Alice1017
  • 21
  • 1

0 Answers0