1.概述有时在安装某些软件的时候,会报错:Error: must have python development packages for 2.4, 2.5, 2.6 or 2.7. Could not find Python.h.Please install python2.4-devel, py...
分类:
编程语言 时间:
2015-01-13 12:24:40
阅读次数:
1433
编写网络包(存储在堆上)转换程序时,在hp-ux机器上运行时会遇到si_code: 1 - BUS_ADRALN - Invalid address alignment. Please refer to the following link that helps in handling unal.....
分类:
其他好文 时间:
2015-01-12 17:23:48
阅读次数:
209
今日编译apache时出错:#./configure --prefix……检查编辑环境时出现:checking for APR... noconfigure: error:APR not found. Please read the documentation解决办法:1.下载所需软件包:wgeth...
分类:
Web程序 时间:
2015-01-12 10:37:20
阅读次数:
154
import osFilename=raw_input("please input filename that you will open: ")if os.path.exists(Filename):##检查文件是否存在 try: Filehandle=open(Filenam...
分类:
编程语言 时间:
2015-01-09 19:11:45
阅读次数:
278
插入的经典:#include#define N 1000int main(){ void bi_search(int a[],int n,int x); int a[N],i,m,x; printf("please input the length:"); scanf("%d...
分类:
其他好文 时间:
2015-01-09 10:27:54
阅读次数:
257
Implement atoi to convert a string to an integer.
Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input case...
分类:
其他好文 时间:
2015-01-09 00:16:53
阅读次数:
233
1 ssh-host-config ?错误: There are still ssh processes running. Please shut them down first. ?解决: ps -ef | grep -v grep | grep ssh??????????kill -9 xxx ? 2?ssh localhost ?错误:c...
分类:
其他好文 时间:
2015-01-08 18:22:11
阅读次数:
191
import oslnend=os.linesep ##windows行结束符号是“\r\n”FileName=raw_input("please input filename:")while True:##检查该文件是否存在,当执行到break时跳出while循环 if os.path.ex...
分类:
编程语言 时间:
2015-01-08 17:33:17
阅读次数:
231
Implement atoi to convert a string to an integer.
Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input ca...
分类:
其他好文 时间:
2015-01-08 09:41:06
阅读次数:
187
使用Python(commandline)即下载python自带的解释器,请注意区分命令行模式和Python交互模式,在命令行模式下,可以执行python进入Python交互式环境,也可以执行pythonhello.py运行一个.py文件,但是在Python交互式环境下,只能输入Python代码执行,不能直接执行一个文件!pri..
分类:
编程语言 时间:
2015-01-07 19:17:48
阅读次数:
178