用python的人,好象在做桌面程序的时候,都会有说用wxwidgets,在网上搜了很久,好象都是在推荐这个。。。
wxPython is a GUI toolkit for the Python programming language. It allows Python programmers to create programs with a robust, highly functional graphical user interface, simply and easily. It is implemented as a Python extension module (native code) that wraps the popular wxWidgets cross platform GUI library, which is written in C++.
Like Python and wxWidgets, wxPython is Open Source which means that it is free for anyone to use and the source code is available for anyone to look at and modify. Or anyone can contribute fixes or enhancements to the project.
wxPython is a cross-platform toolkit. This means that the same program will run on multiple platforms without modification. Currently supported platforms are 32-bit Microsoft Windows, most Unix or unix-like systems, and Macintosh OS X.
Since the language is Python, wxPython programs are simple, easy to write and easy to understand. Here is an example.
上面的内容纯粹是介绍,但是我还处于初学阶段,关键没时间折腾啊,哎。真痛苦。还好wxPython上还有一些使用的介绍,就是那个How to Learn wxPython,有很多介绍。
说来也郁闷,装了一个aptana3,却找不到怎么创建python的工程,这让我想起了komodo edit,好象就直接支持python了。。。看来越是大的东西,越比较让人难以使用。目前在WIN下,好象官方的wiki介绍的IDE也不少。。。有空下载了玩玩。列表在这里:http://wiki.python.org/moin/PythonEditors#Windows-OnlyEditors

评论 (2)
1、首先,uchome的$_SGLOBAL是由他们自己创建的伪全局变量,并非真正的全局变量(如$_GET,$_SESSION那样)
2、其次,如果unset($_SESSION)是会出现一些不可预料的错误,但,即使它真的是全局变量,我也只是unset其中某一个下标。比如 unset($_SESSION['xxx']),也不会影响其他session变量
我记得PHP手册上曾经说过,对于这种全局变量不能使用unset(),好像是因为unset以后他不仅保存的值没有了,自身也被干掉了。你再次调用它的时候因为之前统一的没有了,所以再次生成的不会是那一个。