python for Symbian s60:短信搜索程序(smsearch)
2010-08-30 00:08:00 来源:WEB开发网核心提示:Python代码import e32import sysimport os# looking for install dirDEFDIR = u""for d in e32.drive_list():appd = d + u"\data\python\smsearch\"if o
Python代码
import e32
import sys
import os
# looking for install dir
DEFDIR = u""
for d in e32.drive_list():
appd = d + u"\data\python\smsearch\"
if os.path.exists(appd + u"smsearch.py"):
DEFDIR = appd
break
if DEFDIR:
sys.path.append(appd)
from smsearch import SMSearch
SMSearch().run()
更多精彩
赞助商链接