DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Finding All Symbian Database Files
Hmm.. I am considering hacking the Dbms format.
I want to know what tables are there in each db file.
The first step is to list all such files.
>>> def print_db(arg, dirname, names):
... for name in names:
... if name.endswith('.db'):
... print dirname + '\\' + name
...
>>> os.path.walk('C:\\', print_db, None)
C:\\SportsDiary.db
C:\\test.db
C:\system\Data\Bookmarks1.db
C:\system\Data\lcscfg.db
C:\system\Data\lcs.db
C:\system\Data\NSmlDSSettings.db
C:\system\Data\SavedDecks1.db
C:\system\Data\midp2\systemams\MIDP2SystemAMSDynamic.db
C:\system\Data\midp2\systemams\MIDP2SystemAMSStatic.db
C:\system\Data\srsplugin\SDDatabase.db
C:\system\Data\vasdb\vasdatabase.db
>>>





