一、安装#yum install gd-devel##./configure --prefix=/usr/local/nginx \# --with-debug \# --with-http_stub_status_module ...
分类:
其他好文 时间:
2014-08-18 14:17:42
阅读次数:
154
项目结构目录:Apache 安装配置目录:C:\Apache2.2\conf\httpd.confLoadModule wsgi_module modules/mod_wsgi.soWSGIScriptAlias / D:\TestApp\MyDjangoSite\mysite\mysite\wsg...
分类:
编程语言 时间:
2014-08-18 12:03:04
阅读次数:
229
1、模块来源:随Perl发行版本一起打包、从CPAN下载
2、阅读模块文档:perldoc CGI
3、安装模块
makemaker方式:
指定安装目录:
Module::build方式:
cpan方式:
4、File::basename模块
5、仅选用模块的部分函数
导入引用列表即可
10、不引入任何函数
通过全名的方式使用:
11、...
分类:
其他好文 时间:
2014-08-17 15:40:33
阅读次数:
209
有一个以前写的c语言代码,我想把它用在python程序中。我先是看了《python基础教程》一书中的方法,书中说可以用swig加python内置distutils模块的方法来实现。我照着书上的步骤试了试,结果在导入模块的时候总是提示“ImportError:
dynamic module does not define init function (initprintf)”。起初我以为是so文...
分类:
编程语言 时间:
2014-08-16 16:32:30
阅读次数:
304
整个jQuery是一个自调用的匿名函数: 1 (function(global, factory) { 2 if (typeof module === "object" && typeof module.exports === "object") { 3 module.exp...
分类:
Web程序 时间:
2014-08-15 23:42:49
阅读次数:
300
SDK.h 1 #ifndef SDK_H 2 #define SDK_H 3 4 #include "AsyncProxy.h" 5 #include "Module.h" 6 #include 7 #include 8 #include 9 using std::map;10 using...
分类:
编程语言 时间:
2014-08-15 19:15:09
阅读次数:
273
今天在写代码的时候出现了以下两个错误:TypeError: 'module' object is not callableAttributeError: excelChange instance has no attribute 'xlBook'上网一查,发现第一个错误是由于python中有两种不同...
分类:
编程语言 时间:
2014-08-15 17:37:29
阅读次数:
344
运行ansbile时候报错:[root@localhostpyhook-2014-06-09-17:47:17-2454]#ansibleTraceback(mostrecentcalllast):File"/usr/bin/ansible",line25,in<module>fromansible.runnerimportRunnerFile"/usr/lib/python2.6/site-packages/ansible/runner/__init__.py",line37,in..
分类:
其他好文 时间:
2014-08-15 14:53:19
阅读次数:
203
一、Python用下划线作为变量前缀和后缀指定特殊变量1. 单下划线开头: _xxx:弱“内部使用”标识,如:”from Module import *”,将不导入所有以下划线开头的对象,包括包、模块、成员2. 双下划线开头: __xxx:模块内的私有成员,外部无法直接调用。 即:私有类型的变...
分类:
编程语言 时间:
2014-08-15 14:14:38
阅读次数:
380
A system for providing security policy for a Linux-based security operating system, which includes a template policy module configured to set an autho...
分类:
系统相关 时间:
2014-08-15 01:29:37
阅读次数:
403