#!/usr/bin/env python """Hello, wxPython! program."""import wx class Frame(wx.Frame): """Frame class that displays an image.""" def __init...
分类:
编程语言 时间:
2014-06-28 18:35:24
阅读次数:
829
python版本(适用于树莓派) 1 #!/usr/bin/env python 2 #-*-coding:utf-8-*- 3 import httplib,urllib 4 import json 5 import re,urllib2 6 import time 7 8 class Get.....
Python中默认的最大递归深度是989,当尝试递归第990时便出现递归深度超限的错误:RuntimeError: maximum recursion depth exceeded in comparison简单方法是使用阶乘重现: 1 #! /usr/bin/env Python 2 3 def....
分类:
编程语言 时间:
2014-06-23 07:40:27
阅读次数:
298
翻出google测试工程师的一道题目:
设计一个函数,任何语言都可以,实现以下功能:
一个句子,将句子中的单词全部倒排过来,但单词的字母顺序不变。eg. this is a real world输出结果为:world real a is this
笔者用Python实现如下:
#! /usr/bin/env python
# -* -coding:utf-8-*-
def...
分类:
编程语言 时间:
2014-06-22 16:54:45
阅读次数:
247
## if (I am a Programmer || I have a strong sense of time) I use ag___##1. 安装命令行ag(代码中行首的“\\”是多余的)```bash\#!/usr/bin/env bash\#Author Leslie Guan\#ma....
分类:
其他好文 时间:
2014-06-21 07:55:03
阅读次数:
241
JNIEXPORT jint JNICALL Java_com_encrypt_EncryptActivity_cputExtra(JNIEnv *env, jobject, jobject mContext, jstring actionName, jobjectAr...
分类:
数据库 时间:
2014-06-20 21:34:38
阅读次数:
390
Introduction about Teamcentere10 step-by-step installation in Linux env
分类:
系统相关 时间:
2014-06-18 17:11:55
阅读次数:
332
TeamcenterperformsmorematureandstableinLinuxOSenvandourChinesecustomersareexpressingthestrongwillingtoadoptLinuxplatformtorunTeamcenterconsideringtheircostandsecurity.However,itatleasttakestwodaystoinstallTeamcenter10fromscratchevenforsomeexperiencedenginee..
分类:
系统相关 时间:
2014-06-17 18:17:01
阅读次数:
300
RecommendedReferenceMaterial<<Teamcenter10.1InstallationonUnixandLinuxServersGuide>><<OracleDatabaseInstallationGuide11gRelease2(11.2)forLinux>>ThedetailedscreenshotsaboutinstallationandupgradingOracleServerareasthefollowing.Checking..
分类:
数据库 时间:
2014-06-17 17:39:22
阅读次数:
484
根据工作环境,自定义一个mysql启动脚本---1.保存为/usr/local/mysql/scripts/mysql_env.ini#setmysqlinitvariablesMYSQL_USER=system
#mysql的用户名MYSQL_PASS=‘password‘#mysql的登录用户密码#checkinputparameterornoif[$#-ne1];then#判断输入的参数个数echo
"mysqlportis33..
分类:
数据库 时间:
2014-06-16 18:20:50
阅读次数:
238