Namespaces
Variants
Actions

Archived:How to find all databases using PySymbian

Jump to: navigation, search
Archived.png
Aquivado: Este artigo foi arquivado, pois o conteúdo não é mais considerado relevante para se criar soluções comerciais atuais. Se você achar que este artigo ainda é importante, inclua o template {{ForArchiveReview|escreva a sua justificativa}}.

All PySymbian articles have been archived. PySymbian is no longer maintained by Nokia and is not guaranteed to work on more recent Symbian devices. It is not possible to submit apps to Nokia Store.
Article Metadata

Article
Created: cyke64 (24 Mar 2007)
Last edited: hamishwillee (31 May 2013)

To know what tables are there in each db file you can list all such files.

1st Edition and 2nd Edition

#
# Finding all symbians database files
#
 
import os
 
def print_db(arg, dirname, names):
for name in names:
if name.endswith('.db') or name.endswith('.cdb'):
print dirname + '\\' + name
 
os.path.walk('C:\\', print_db, None)
os.path.walk('D:\\', print_db, None)
os.path.walk('E:\\', print_db, None)

TODO : 3rd Edition !

This page was last modified on 31 May 2013, at 04:03.
105 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved