ChinaUnix首页
|
论坛
|
博客
博客首页
博客专家
往日推荐
博客文集
博文
博主
热搜:
Windows
cISCO
.net
Java
Ruby
项目管理
云计算
移动开发
博客首页 〉
搜索结果
按类别查询搜索结果
操作系统
程序设计
数据库
热点技术
综合
架构与运维
移动开发与应用
Web前端
LINUX
|
BSD
|
WINDOWS
|
其他UNIX
|
AIX
|
SOLARIS
|
C/C++
|
Java
|
Python/Ruby
|
项目管理
|
Web开发
|
嵌入式
|
C#/.net
|
PHP
|
Delphi
|
PERL
|
Erlang
|
Verilog
|
敏捷开发
|
Mysql/postgreSQL
|
Oracle
|
DB2/Informix
|
Sybase
|
数据库开发技术
|
SQLite/嵌入式数据库
|
SQLServer
|
NOSQL
|
虚拟化
|
云计算
|
大数据
|
HADOOP
|
高性能计算
|
IT业界
|
IT职场
|
信息化
|
网络与安全
|
系统运维
|
服务器与存储
|
架构设计与优化
|
Android平台
|
iOS平台
|
Windows平台
|
其他平台
|
Html/Css
|
JavaScript
|
jQuery
|
HTML5
|
关于关键词 的检测结果,共
1988
条
【Python/Ruby】
用py2exe打包成一
个
exe文件
richace
| 2017-03-09 10:49:14 | 阅读(470) | 评论(0)
【阅读全文】
【Python/Ruby】
一点其他
小
巧
jwshxyd
| 2017-02-19 18:56:15 | 阅读(490) | 评论(0)
一,类的自动进出点击(此处)折叠或打开class sth(object): def __init__(self,hehe): self.a = hehe def __enter__(self): ...
【阅读全文】
【Python/Ruby】
python 编程实用
技
巧
jade_fu
| 2017-02-16 13:42:14 | 阅读(1770) | 评论(0)
1, 工厂模式假设有一个功能, 能使用3种类(class1, class2, class3)实现, 用户使用的时候, 可以根据配置使用其中任何一种,那么你可以使用工厂模式实现.classx = get_factory(name): if name == "class1": return class1 elif name == "class2": re...
【阅读全文】
【Python/Ruby】
一
个
用于自动化重建基于内存导出的 PE 文件 IAT 表的 Python 库
lnbt
| 2017-01-18 14:53:08 | 阅读(0) | 评论(0)
转自 https://xuanwulab.github.io/cn/secnews/2017/01/17/index.htmlhttps://github.com/OALabs/PyIATRebuild一个用于自动化重建基于内存导出的 PE 文件 IAT 表的 Python 库https://github.com/OALabs/PyIATRebuild
【阅读全文】
【Python/Ruby】
5
个
很好的 Python 面试题
leve1031
| 2016-12-26 10:18:51 | 阅读(0) | 评论(0)
https://segmentfault.com/a/1190000000618513
【阅读全文】
【Python/Ruby】
几
个
通过IP查询地理
信
息的网站
hmchzb19
| 2016-12-24 14:13:11 | 阅读(1440) | 评论(0)
1. 这是个已经shutdown的网站,曾经提供JSON IP and GeoIP REST APIhttp://www.telize.com/2. 这个网站很不错,提供xml/json/csv的输出https://freegeoip.net/点击(此处)折叠或打开root@kali:/usr/local/src/py/network# curl freegeoip.net/csv/123.161.***.***...
【阅读全文】
【Python/Ruby】
python如何添加模块搜索路径的3
个
方法
steve78926
| 2016-12-22 12:03:06 | 阅读(1080) | 评论(0)
python如何添加模块搜索路径的3个方法
【阅读全文】
【Python/Ruby】
python3 的一
个
巨啃
fengqiyunyong123
| 2016-11-25 14:33:25 | 阅读(3410) | 评论(0)
近期在python3.5上安装部分模块都出现 os.chmod(fname, 0755) ^ SyntaxError: invalid token 这种类...
【阅读全文】
【Python/Ruby】
几
个
paramiko 的例子
hmchzb19
| 2016-09-30 11:35:30 | 阅读(2240) | 评论(0)
1. 第一个使用sudo 来run commands. 点击(此处)折叠或打开 ssh=paramiko.SSHClient() ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy()) ssh.connect("127.0.0.1",username...
【阅读全文】
【Python/Ruby】
python 以逗号
分
割,忽略引号内的逗号
eatmyshort
| 2016-09-12 14:45:14 | 阅读(1970) | 评论(0)
python 以逗号分割,忽略引号内的逗号加posix=True 和不加posix=True 有区别前两个是加和不加posix=True的对比,最后一个例子是以空格分割的语句的例子lex.quotes = '"' 去掉效果一样import shlexstr=shlex.shlex("ab,'cdsfd,sfsd',ewewq,5654",posix=True)str.whitespace=','str.whitesapce_s...
【阅读全文】
【Python/Ruby】
awk与cut在以空格为
分
割域时的区别
寂寞暴走伤
| 2016-08-24 17:31:45 | 阅读(760) | 评论(0)
shell grep awk
【阅读全文】
【Python/Ruby】
python 应用实践之ctrl+D /C /\ 的
信
号屏蔽
老爷康
| 2016-07-18 14:41:10 | 阅读(740) | 评论(0)
问:现在有一个需求,我程序启动后,为了防止用户误输入ctrl+D/C 而把任务给挂掉,想忽略或者捕捉这个信号,当然,ctrl+c发送中断信号,可以被忽略,但是类似于SIGKILL 和 SIGSTOP 信号不能被捕捉也不能被捕获我该怎么办,我想禁用掉他们,求解决答:...
【阅读全文】
【Python/Ruby】
python
小
结-socket
kinfinger
| 2016-07-09 17:07:14 | 阅读(0) | 评论(0)
python,bind,listen,accept,SELECT,POLL
【阅读全文】
【Python/Ruby】
python
小
结--list comprehension【simple】
kinfinger
| 2016-07-08 13:58:24 | 阅读(0) | 评论(0)
python,list,comprehension
【阅读全文】
【Python/Ruby】
python
小
结-generator
小
结
kinfinger
| 2016-07-03 23:29:49 | 阅读(0) | 评论(0)
geneator,send,next,yield
【阅读全文】
【Python/Ruby】
python
小
结-decorator装饰器入门
kinfinger
| 2016-07-03 18:43:48 | 阅读(0) | 评论(0)
decorator,wraps
【阅读全文】
【Python/Ruby】
python
小
结-字符编码
kinfinger
| 2016-07-03 17:05:48 | 阅读(0) | 评论(0)
python,unicode,from __future__ import unicode_literals
【阅读全文】
【Python/Ruby】
python
小
结--千变万化之函数
kinfinger
| 2016-07-03 00:02:17 | 阅读(0) | 评论(0)
python,map,lambda,filter,reduce,functional,decorator, equal forma
【阅读全文】
【Python/Ruby】
Python编程(四):两
个
实用的Python的装饰器
laoliulaoliu
| 2016-07-02 22:17:24 | 阅读(700) | 评论(0)
原文地址:https://zhuanlan.zhihu.com/p/20175869?refer=auxten作者:auxten链接:https://zhuanlan.zhihu.com/p/20175869来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。超时函数这个函数的作用在于可以给任意可能会hang住的函数添加超时功能,这个功能在编写外部AP...
【阅读全文】
【Python/Ruby】
python
小
结-CGI-WSGI
kinfinger
| 2016-07-02 16:51:40 | 阅读(0) | 评论(0)
CGI,WSGI,PYTHON,SERVER,MIDDLE,APP,REGISTER
【阅读全文】
首页
<<
18
19
20
21
22
23
24
25
26
27
>>
末页