⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 064-contacts.py

📁 this code is used for edit on os of s60
💻 PY
字号:
import contacts, appuifw, telephonename = appuifw.query(u'Call to', 'text')db = contacts.open()entries = db.find(name)names = []for item in entries:        names.append(item.title)if names:    index = appuifw.selection_list(names, search_field=0)    num = entries[index].find('mobile_number')    if num:        telephone.dial(num[0].value)    else:        appuifw.note(u'Missing mobile phone number', 'error')else:    appuifw.note(u'No matches','error')

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -