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



一下是Version 1.2的特性說明(不大會翻譯,大家對著原文看了):
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環境下Pyton開發的第二個重要版本.該版本支持一下新特性
- 2D Graphics, Images, and Full-screen applications
- (支持)2D 圖形,圖象和全屏應用程序
- 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.
- (支持)訪問系統信息,比如:IMEI碼,磁盤空間,空閑內存空間等
- Rich text display (fonts, colors, styles)
- 多文本格式顯示(字體,顏色,樣式)
- Support for Scalable UI
- 支持Scalable UI
- Expanded key events
- 整強了按鍵事件
- Telephone dialing
- 電話撥號
- ZIP module
- ZIP模塊
Version 1.2 continues to include features from the 1.0 release, such as:
1.2版繼續包含原1.0版的特性,例如:
- Networking support for GPRS and Bluetooth
- 支持GPRS和藍牙網絡
- On-device and remote Python console
- Support for native GUI widgets
- 支持本地的GUI widgets
- SMS sending
- SMS短信發送
- Application build tool for packaging stand-alone application installers
- 可直接打包生成成獨立的安裝程序
- Compatible with all Series 60 1st and 2nd Edition devices
- 保持程序在所有S60 第一版和第二版設備上具有一致性(平臺無關)