码迷,mamicode.com
首页 >  
搜索关键字:coding    ( 12955个结果
编程有害身体健康 且Coding且珍惜
对大多数程序员而言,弯腰驼背一连几小时趴在办公桌上对着电脑霹雳巴拉敲着键盘,很有可能是一种常态,日复一日,年复一年。我之所以知道的这么清楚,是因为我也是其中的一员。 随着时间的流逝,头开始向前倾(1),肩膀开始无意识地耷拉下来(2),背渐渐地向前...
分类:其他好文   时间:2014-08-20 15:48:32    阅读次数:191
淘宝API举例子
# -*- coding: utf-8 -*-import urllib2import urllibimport timeimport md5secret='xxxxx'app_key='yyyy'session ='zzzzzz'arg={ 'format': 'json', 'tim...
分类:Windows程序   时间:2014-08-20 13:54:52    阅读次数:377
Cracking the Coding Interview 6.5
There is a building of 100 floors. If an egg drops from the Nth floor or above, it will break. If it's dropped from any floor below, it will not break...
分类:其他好文   时间:2014-08-20 12:06:52    阅读次数:189
Cracking the Coding Interview 6.2
There is an 8*8 chess board in which two diagnolly opposite corners have been cut off. You are given 31 dominos, and a single domino can cover exactly...
分类:其他好文   时间:2014-08-20 12:01:32    阅读次数:236
python爬虫----(3. scrapy框架,简单应用)
(1)创建scrapy项目 scrapy?startproject?getblog ????(2)编辑 items.py #?-*-?coding:?utf-8?-*- #?Define?here?the?models?for?your?scraped?items # #?See?documentation?i...
分类:编程语言   时间:2014-08-20 07:06:56    阅读次数:262
python爬虫----(1. 基本模块)
python爬虫,web spider。爬取网站获取网页数据,并进行分析提取。 ????基本模块使用的是 urllib,urllib2,re,等模块 (一)基本用法,例子 ????(1)进行基本GET请求,获取网页html #!coding...
分类:编程语言   时间:2014-08-20 00:10:25    阅读次数:376
Python学习笔记(一)
注释:两类 # 或 """ """ 或 ''' ''' #coding=utf-8 (中文)--------------------------------------------------变量:无需先声明,赋值时声明和定义比如:data_i = 1str = 'hello' #字符串可用''.....
分类:编程语言   时间:2014-08-19 22:06:35    阅读次数:270
Cracking the Coding Interview 5.2
Given a(decimal -e.g. 3.72)number that is passed in as a string, print the binary representation. If the number can not be represented accurately in b...
分类:其他好文   时间:2014-08-19 22:04:15    阅读次数:233
Cracking the Coding Interview 5.7
An array A[1...n] contains all the integers from 0 to n except for one number which is missing.In this problem, we cannot access an entire integer in ...
分类:其他好文   时间:2014-08-19 18:49:45    阅读次数:251
学习pyqt 基础 实践1
# 学习pyqt 基础 实践1 ## 代码加截图 > 学习前面一点Qwidget,QWindow 然后实现了这个界面,并没有相应的处理方法,之后在写相应的处理函数。 #! /usr/bin/python # -*- coding:utf8 -*- import sys from PyQt4...
分类:其他好文   时间:2014-08-19 14:45:25    阅读次数:254
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!