码迷,mamicode.com
首页 >  
搜索关键字:python module    ( 144473个结果)
python时间转换
time时间处理1.获取当前时间(时间戳)time.time()2.获取当前时间 (元组),参数是时间戳,默认是当前时间戳time.localtime(pams)3.把时间元组转换时间格式化time.strftime("%Y-%m-%d",时间元组)4.把时间格式化转换为时间元组time.strpt...
分类:编程语言   时间:2014-10-08 11:36:45    阅读次数:257
High Performance Python 笔记(Python是门不错的语言,全栈程序员就用它好了!)
High Performance Python 目录 1 Understanding Performant Python2 Profiling3 Lists and Tuples4 Dictionaries and Sets5 Iterators and Generators6 Matrix and Vector Computation7 Compil...
分类:编程语言   时间:2014-10-08 11:03:25    阅读次数:448
python解析xml文件操作的例子
python解析xml文件操作实例,操作XML文件的常见技巧。xml文件内容: sample xml thing ma xiaoju Springs Widgets, Inc. First I think widgets are greate.You should ...
分类:编程语言   时间:2014-10-08 08:09:14    阅读次数:252
python求crc32值的方法
python求crc32值的方法在python代码中求CRC值,要import binasciibinascii.crc32(v) 求出了v的crc32值,这是一个long型,形如-1456387L,把这个值&0xffffffff得到的值形如48a213L的形式。然后,把这个值用16进制表示出来。....
分类:编程语言   时间:2014-10-08 07:52:24    阅读次数:226
Ubuntu 部署 Node.js 应用
安装Node.js环境 sudo apt-get install nodejs sudo apt-get install npm 对于不同环境依赖 的node_module可以采用以下命令来重新生成 rm -rf node_modules npm cache clean npm install 如果...
分类:Web程序   时间:2014-10-08 01:45:24    阅读次数:272
Python交互式编程导论----事件驱动编程
传统的编程是如下线性模式的:开始--->代码块A--->代码块B--->代码块C--->代码块D--->......--->结束每一个代码块里是完成各种各样事情的代码,但编程者知道代码块A,B,C,D...的执行顺序,唯一能够改变这个流程的是数据。输入不同的数据,根据条件语句判断,流程或许就改为A-...
分类:编程语言   时间:2014-10-08 01:13:54    阅读次数:379
[leetcode]Distinct Subsequences @ Python
原题地址:https://oj.leetcode.com/problems/distinct-subsequences/题意:Given a stringSand a stringT, count the number of distinct subsequences ofTinS.A subseq...
分类:编程语言   时间:2014-10-08 00:56:04    阅读次数:262
PyQt5+python3的FindDialog
1 #!/usr/bin/env python 2 #coding: utf-8 3 4 import sys 5 from PyQt5.QtWidgets import * 6 from PyQt5.QtCore import Qt, pyqtSignal 7 8 class FindDia...
分类:编程语言   时间:2014-10-07 22:26:34    阅读次数:283
Django学习笔记(一)
1.创建一个项目django-admin.exe startproject mysite.mysite/目录只是项目的一个容器。mysite/wsgi.py一个WSGI兼容的Web服务器的入口,以便运行项目。2.更改服务器的端口python manage.py runserver 8080改变服务器...
分类:其他好文   时间:2014-10-07 22:19:34    阅读次数:225
weevely入手使用笔记
-前言weevely是一款使用python编写的webshell工具,集webshell生成和连接于一身,采用c/s模式构建,可以算作是linux下的一款php菜刀替代工具,具有很好的隐蔽性(生成随机参数且base64加密),在linux上使用时还是很给力的(集服务器错误配置审计,后门放置,暴力破解...
分类:其他好文   时间:2014-10-07 21:15:34    阅读次数:430
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!