- 博客(7)
- 资源 (71)
- 收藏
- 关注
原创 关闭csrf
#disable.py class DisableCSRF(object): def process_request(self, request): setattr(request, '_dont_enforce_csrf_checks', True
2011-10-12 08:25:49
1021
9
转载 xrc tutorial
XRC Tutorial (written by John Salerno, johnjsal@gmail.com ) I've decided to write this tutorial to explain the basics of using XRC (XML Resource) for the construction of wxPython GUIs (Graphical User Interfaces). I spent a few days looking for docum
2010-10-25 08:13:00
513
转载 py2exe使用
<br />假如你用python写了个小程序,想给别人用或者给别人演示,但他电脑里没装python、wxpython等,这时候你可以试试py2exe,它是一个将python脚本转换成windows上的可执行程序(*.exe)的工具。安装就不多说了,简单介绍一下用法: <br /><br />一般来说,使用py2exe的步骤如下: <br />写一个用于发布程序的设置脚本: 如果你有一个名为helloworld.py的python脚本,现在想把它转换为exe可执行程序,,可以在helloworld所在目录新建
2010-10-25 08:03:00
785
转载 整数平方根2
sqrt的快速算法 --- (参考)2009年10月26日 星期一 21:04在3D图形编程中,经常要求平方根或平方根的倒数,例如:求向量的长度或将向量归一化。C数学函数库中的sqrt具有理想的精度,但对于3D游戏程式来说速度太慢。我们希望能够在保证足够的精度的同时,进一步提高速度。Carmack在QUAKE3中使用了下面的算法,它第一次在公众场合出现的时候,几乎震住了所有的人
2009-11-27 08:06:00
867
原创 整数平方根
翻翻故纸堆,偶然找出这么段程序,算法实现小BT,供各位玩赏#define BitsOf(type) (8*sizeof(type))typedef unsigned Int; // define your type of UNSIGNED integer.inline int FastEstimateLeading0s(Int a){ if (a) {
2009-11-27 08:04:00
471
原创 ruby xml excel
require win32olefns = Dir.glob("*.xls")application = WIN32OLE.new("excel.application") application.visible = TRUEf = File.new(errorCauseEN.xml,w)f.puts()f.puts(http://www.xmlspy.co
2009-11-05 20:54:00
431
转载 RUBY EXCEL操作
用ruby新建一个excel文件,并且设置一些值。 require win32ole excel = WIN32OLE.new("excel.application") excel.Visible = true excel.WorkBooks.Open("d://test.xls") excel.WorkSheets("sheet1").Activate excel
2009-11-03 13:33:00
723
PyQt-Py2.6-gpl-4.7.4-1.part2
2010-08-19
PyQt-Py2.6-gpl-4.7.5-1.part1
2010-09-04
PyQt-Py2.6-gpl-4.7.5-1.part2
2010-09-04
PyQt-Py2.6-gpl-4.7.4-1
2010-08-19
wingide 3.2.11part1
2010-10-18
wingide 3.2.11part2
2010-10-18
django相关插件资源python2.6
2011-09-03
Kendo_UI_Beta2_
2011-11-30
celerity source code analyzer
2013-01-24
pyInstaller 1.4
2010-10-27
libxml2-python-2.7.7.win32-py2.6
2012-01-18
wingide 4安装文件
2011-09-10
PHProjekt 6
2011-12-02
railsinstaller-1.1.1
2011-05-20
railsinstaller-1.1.1.part3
2011-05-20
railsinstaller-1.1.1.part2
2011-05-20
maqetta-maqetta-Preview1-421-g998087f.tar.part3
2011-06-27
maqetta-maqetta-Preview1-421-g998087f.tar.part1
2011-06-27
maqetta-maqetta-Preview1-421-g998087f.tar.part2
2011-06-27
Maqetta.part2
2011-06-19
maqetta.part1
2011-06-19
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅