python
石头
一个有理想的程序员。。。
展开
-
Envisaged python 应用框架
Envisagedpython 应用框架主页以前看NewEdit/Ulipad,发现它的可扩展性也挺强的,它的基本思想就是mixin, 而看见Peppy[2]这个继承EMACS思想的编辑器就更引发我想: 有没有采用Python实现的、类似于Eclipse的项目/平转载 2011-09-01 15:38:14 · 626 阅读 · 0 评论 -
About Dabo
About DaboDesktop applications. That's what Dabo does. It's not YAWF (yet another web framework). There are plenty of excellent web frameworks out there, so if that's what you are looking for, Dab翻译 2012-04-26 09:01:26 · 619 阅读 · 0 评论 -
Pycopia Application Framework
The Pycopia project is a framework of frameworks for the rapid development ofapplications related to telecommunications networks, web, data processing,process control, and more.Some examples i翻译 2012-04-26 09:02:18 · 625 阅读 · 0 评论 -
Cross Compiling Python for Embedded Linux
Cross Compiling Python for Embedded LinuxPosted by Paul Gibson on16 November 2011, 2:48 pmThis article details how to cross compile Python for the ARM and PowerPC platforms. It should apply e翻译 2012-04-17 09:54:18 · 1026 阅读 · 0 评论 -
Python 应用发布技术
收集如何 将Py应用打包发布的各种技巧: 1.1. 工具工欲善其事,必先利其器.python是解释型的语言,但是在windows下如果要执行程序的话还得加个python shell的话,未免也太麻烦了.而这里所说的东西就是将python程序转换为exe文件.下面是一些常用的工具,不过似乎py2exe应用的更加广泛一些.1.1.1. py2exehtt转载 2011-09-30 14:57:13 · 624 阅读 · 0 评论 -
pyside 中的中文字符
要在pyside中直接使用中文字符,可通过如下方法解决:codec = QtCore.QTextCodec.codecForName("utf-8")encodedString = codec.toUnicode("你好,中国")原创 2012-05-19 14:35:10 · 1621 阅读 · 0 评论 -
在Python中执行javascript
在Python中执行javascript在使用python抓取网页的过程中,有的时候需要执行某些简单的javascript,以获得自己需要的内容,例如执行js里面的document.write或者document.getElementById等。自己解析js代码显然有点吃力不讨好,因此最好能找到一些可以解析执行js的python库。google之可以找到三个候选者,分别是微软的Scri转载 2012-05-22 16:06:21 · 1298 阅读 · 0 评论 -
用c++和python写GUI程序(python嵌入方式)
用python写GUI相比C++好处多多:语法简洁灵活,不用编译,自动垃圾回收,等等。很让我这个c++程序员眼红,自然要好好研究一下。如果用纯python的方式很简单,qt或者wxwidget这个两个GUI库的python版本都已经很成熟,直接拿来用就行了。但在一些核心逻辑是由c来完成的项目里,就需要结合c和python来做GUI程序。c+python做GUI程序是有点麻烦的。通常采用的是转载 2013-01-15 13:40:04 · 3081 阅读 · 1 评论 -
通过 LLVM 加速 Python numba
numba是Cython的竞争项目。同样的,numba把Python源码通过LLVMPy生成JIT后的.so文件来加速。不同点:1. numba是以JIT为主的,加速对源码的侵入性较小。2. Cython则重点在加速高性能Python模块的开发上,不依赖LLVMPy项目。3. numba还很不成熟,目前兼容性相当差。准确说Cython是单独的一门语言,专门用来写在Pyt转载 2013-07-23 09:57:56 · 3205 阅读 · 0 评论 -
cpp2c
What is cpp2c? Cpp2C is an (extern) C wrapper code-generator for C++ code.Cpp2C gets a C++ header file path and generate a thin C++ wrapper code with extern-C interface to that header file, allo转载 2013-08-06 14:21:03 · 1097 阅读 · 0 评论 -
GUI Programming in Python
GUI Programming in PythonPython has a huge number of GUI frameworks (or toolkits) available for it, from Tkinter (traditionally bundled with Python, using Tk) to a number of other cross-platform s翻译 2012-04-26 12:15:12 · 1737 阅读 · 0 评论 -
easy to use AJAX libraries for django
easy to use AJAX libraries for djangoFast, easy and lightweight libraries to implement AJAX inside your django projects. Ready to use in 5 minutes.dajaxicedajaxice is the communication core of翻译 2012-04-11 11:13:32 · 573 阅读 · 0 评论 -
(ap)Proximated (x)Emacs Powered by Python
(ap)Proximated (x)EmacsPowered by Python.-- an XEmacs-like editor in Python. Eventually.Latest version: 0.16.0 "Big Smile". Download hereDevelopment Moved to GitHubNot that I'm doing much翻译 2012-04-09 11:57:51 · 765 阅读 · 0 评论 -
使用.pth文件扩展python环境路径
使用.pth文件扩展python环境路径有时候我们不希望把一个库放到 site-packages 下面,而是更愿意把它保留在原始的工程目录中,方便管理和维护。那么怎么能让 Python 运行环境找到这个库呢?通常的做法是在程序启动的时候,往sys.path转载 2011-08-31 17:32:16 · 8241 阅读 · 0 评论 -
gstreamer 也是个模块化的框架
今天突然想到gstreamer也是个模块化的框架,可以用pathon来组织整个系统。可能不会比blueberry、osp差哦!!!原创 2011-09-02 08:38:23 · 590 阅读 · 0 评论 -
django-rbac
django-rbac 0.9Role-based Access Control (RBAC) implementation for management of permissions in DjangoOverviewFirst of all, I woul翻译 2011-09-21 10:35:15 · 1789 阅读 · 0 评论 -
使用 Twisted Matrix 框架来进行网络编程,第 1 部分
使用 Twisted Matrix 框架来进行网络编程,第 1 部分理解异步联网David Mertz (mertz@gnosis.cx), 程序员,博士, Gnosis Software, Inc.简介: Twisted Matrix 是一种越来越受转载 2011-08-31 12:31:59 · 640 阅读 · 0 评论 -
Python源代码编译成 pyc pyo
什么是pyc文件pyc是一种二进制文件,是由py文件经过编译后,生成的文件,是一种byte code,py文件变成pyc文件后,加载的速度有所提高,而且pyc是一种跨平台的字节码,是由python的虚拟机来执行的,这个是类似于JAVA或 者.NET的虚拟机的概念。pyc的内容转载 2011-09-30 13:51:41 · 690 阅读 · 0 评论 -
使用 cx_freeze 把python程序编译成可执行文件
About cx_Freezecx_Freeze is a set of scripts and modules for freezing Pythonscripts into executables in much the same way thatpy2exe andpy翻译 2011-09-30 13:55:05 · 682 阅读 · 0 评论 -
Your first PySide application
Your first PySide applicationIf you followed Setting up PySide wiki page to install PySide, you should now have a full blown copy of PySide on your machine to start developing Qt+PythonGUI appli翻译 2011-11-29 15:41:05 · 516 阅读 · 0 评论 -
GUI2Exe is a Graphical User Interface frontend to all the "executable builders" available for the Py
GUI2Exe is a Graphical User Interface frontend to all the "executable builders" available for the Python programming language. It can be used to build standalone Windows executables, Linux application翻译 2012-03-31 10:00:14 · 880 阅读 · 0 评论 -
A framework for Python applications with graphical user interfaces.
A framework for Python applications with graphical user interfaces.一个Python GUI应用的框架Introduction介绍http://www.async.com.br/projects/kiwi/Kiwi consists of a set of classes and wrappe翻译 2012-04-07 10:56:49 · 501 阅读 · 0 评论 -
Parsing C++ in Python with Clang
Parsing C++ in Python with ClangParsing C++ in Python with ClangJuly 3rd, 2011 at 5:15 am People that need to parse and analyze C code in Python are usually really excited to run intopyc转载 2013-08-08 17:39:51 · 2213 阅读 · 0 评论