Archived:How to find all databases using PySymbian
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.
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
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 !


(no comments yet)