在python-chinese的MailList看到了有人討論P(yáng)ython for S60于是Google一下,去到
NOKIA論壇發(fā)現(xiàn)已經(jīng)是Version1.2了。下載了對應(yīng)我的SendoX的SIS。安裝完成后運(yùn)行,界面如下(是不是跟PC版沒有什么區(qū)別)。下載包里面還帶了一些example,把這些.py文件放在*:\system\app\python下,運(yùn)行Python解釋器后選擇options->Run script在文件列表里選擇你想要運(yùn)行的腳本就可以看到example了。當(dāng)然如果你很牛,手指運(yùn)動(dòng)足夠快,也可以直接用手機(jī)在命令行里打代碼:)。



一下是Version 1.2的特性說明(不大會(huì)翻譯,大家對著原文看了):
Version 1.2 is Nokia's second major release of the Python for S60
environment. The new version includes support for the following new
features:
1.2版是Nokia在S60環(huán)境下Pyton開發(fā)的第二個(gè)重要版本.該版本支持一下新特性
- 2D Graphics, Images, and Full-screen applications
- (支持)2D 圖形,圖象和全屏應(yīng)用程序
- Camera and Screenshot API
- 攝像頭和截屏API
- Contacts and Calendar API
- 電話本和日歷API
- Sound recording and playback
- (支持)聲音錄制和回訪
- Access to System info, such as IMEI number, disk space, free memory, etc.
- (支持)訪問系統(tǒng)信息,比如:IMEI碼,磁盤空間,空閑內(nèi)存空間等
- Rich text display (fonts, colors, styles)
- 多文本格式顯示(字體,顏色,樣式)
- Support for Scalable UI
- 支持Scalable UI
- Expanded key events
- 整強(qiáng)了按鍵事件
- Telephone dialing
- 電話撥號(hào)
- ZIP module
- ZIP模塊
Version 1.2 continues to include features from the 1.0 release, such as:
1.2版繼續(xù)包含原1.0版的特性,例如:
- Networking support for GPRS and Bluetooth
- 支持GPRS和藍(lán)牙網(wǎng)絡(luò)
- On-device and remote Python console
- Support for native GUI widgets
- 支持本地的GUI widgets
- SMS sending
- SMS短信發(fā)送
- Application build tool for packaging stand-alone application installers
- 可直接打包生成成獨(dú)立的安裝程序
- Compatible with all Series 60 1st and 2nd Edition devices
- 保持程序在所有S60 第一版和第二版設(shè)備上具有一致性(平臺(tái)無關(guān))