码迷,mamicode.com
首页 >  
搜索关键字:coding    ( 12955个结果
Show you how to update BMW DME with WINKFP
B-MW ICOM BMW ISIS ISID A+B+C is the latest program, diagnose, coding and complete system BMW have the full system replace DIS GT1/SSS/OPS and OPPS.
分类:Windows程序   时间:2015-06-05 17:02:37    阅读次数:263
python下的MySQLdb使用
# -*- coding: utf-8 -*- ? ?? #mysqldb ? ? import time, MySQLdb ? ? ? ? #连接 ? ? conn=MySQLdb.connect(host="localhost",user="root",passwd="root",db="test",charset="utf8") ? cursor = con...
分类:数据库   时间:2015-06-05 12:31:33    阅读次数:153
python+scrapy爬取亚马逊手机商品
1 # -*- coding: utf-8 -*- 2 3 # Define here the models for your scraped items 4 # 5 # See documentation in: 6 # http://doc.scrapy.org/en/latest/topi.....
分类:移动开发   时间:2015-06-05 11:45:30    阅读次数:187
ExtJS 中类的继承
ExtJS 允许对现有的类进行扩展,其扩展可以通过继承来实现。接下来我们就对刚刚使用ExtJS定义的Person类进行继承,定义一个Developer类,它继承自Person,同时还拥有Coding方法,代码如下:Ext.define("Developer", { extend: 'Perso...
分类:Web程序   时间:2015-06-05 10:01:03    阅读次数:109
HackerRank - "Stars"
Not hard, but with some amount of coding. Brutal-force would work: iterate each unique pair of points. And I used "y=ax+b" to check each point which s...
分类:其他好文   时间:2015-06-05 06:21:50    阅读次数:176
利用堡垒主机获取防火墙里面主机信息
#!/usr/bin/envpython #coding=utf-8 importparamiko importos,sys,time #definebaolei blip="188.188.22.225" bluser="root" blpassword="1233434" #defineserverinfo hostname="112.74.96.65" username="root" password="ddddddd" port=22 passinfo=‘\‘spassword:‘ parami..
分类:其他好文   时间:2015-06-05 01:03:33    阅读次数:258
使用Python扫描端口
前几天看了个讲使用Python扫描端口的教程,看了之后自己也写了个扫描端口的脚本。记录下来,方便自己以后回顾。运行效果如下:具体代码如下,请指教。#-*-coding:utf8-*- #!/usr/bin/python #Python:2.7.8 #Platform:Windows #Authro:wucl #Program:端口扫描 #History:2015.6.1..
分类:编程语言   时间:2015-06-05 00:53:18    阅读次数:134
合天解密200-找茬游戏
得到两张看似一样的图片PNG1:PNG2:两张图片异或后,隐约看到中间有个二维码,但是颜色太相近,处理下异或和处理的python代码: 1 #!/usr/bin/env python 2 # -*- coding: gbk -*- 3 # -*- coding: utf_8 -*- 4 # Date...
分类:其他好文   时间:2015-06-04 20:42:59    阅读次数:131
Python笔记(五)--Django中使用模板
使用Django开发网站时,如果不使用模板,那么将会很不合理。因为我们所有的html代码都需要被硬编码到我们的Python代码中。我们新建一个工程,然后再在新建一个应用程序,并在其中的views.py文件中添加如下代码: 1 #coding=UTF-8 2 from django.http.re.....
分类:编程语言   时间:2015-06-04 19:25:47    阅读次数:141
python模块ConfigParser操作配置文件
python模块ConfigParser操作ini格式文件cattest.txt[host]web01=10.10.10.10web02=20.20.20.20[db]mysql01=1.1.1.1mysql02=2.2.2.2#!/usr/bin/envpython#coding:utf8importConfigParser,string,os,syscf=ConfigParser.ConfigParser()cf.read("test.txt")s=cf.sections()print‘s..
分类:编程语言   时间:2015-06-04 17:19:55    阅读次数:132
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!