码迷,mamicode.com
首页 >  
搜索关键字:self    ( 14215个结果
Python Scrapy 自动爬虫注意细节
一、首次爬取模拟浏览器 在爬虫文件中,添加start_request函数。如: def start_requests(self): ua = {"User-Agent": 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, ...
分类:编程语言   时间:2016-12-24 02:04:12    阅读次数:260
ubuntu设置时区为美国中部时间西六区
查看当前ubuntu系统时区 显示的是东八区时间及北京时间 然后输入tzselect 按照提示修改对应时区 本例子修改为美国中部时间 西六区 ...
分类:系统相关   时间:2016-12-24 01:30:43    阅读次数:253
python-面向对象进阶
一、什么是反射 反射的概念是由Smith在1982年首次提出的,主要是指程序可以访问、检测和修改它本身状态或行为的一种能力(自省)。这一概念的提出很快引发了计算机科学领域关于应用反射性的研究。它首先被程序语言的设计领域所采用,并在Lisp和面向对象方面取得了成绩。 二、四个可以实现自省的函数(下列方 ...
分类:编程语言   时间:2016-12-23 16:33:22    阅读次数:154
IOS-当遇到tableView整体上移时的解决方案
方案一 在使用了navigationController后,当界面进行跳转往返后,时而会出现tableView或collectionView上移的情况,通常会自动上移64个像素,那么这种情况,我们可以关闭tableView的自动适配布局。 self.automaticallyAdjustsScrol ...
分类:移动开发   时间:2016-12-23 10:03:35    阅读次数:2493
Open source packages on Deep Reinforcement Learning
智能车 self driving car + 强化学习 reinforcement learning + 神经网络 模拟 https://github.com/MorvanZhou/my_research/tree/master/self_driving_research_DQN Reinforce ...
分类:其他好文   时间:2016-12-23 09:43:37    阅读次数:207
Open source packages on self-driving car
Autoware https://github.com/CPFL/Autoware.git Open-source software for urban autonomous driving "For safe use, we provide a ROSBAG-based simulation me ...
分类:其他好文   时间:2016-12-23 09:36:02    阅读次数:262
Leetcode 74 and 240. Search a 2D matrix I and II
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties: Integers in each row are sorted f ...
分类:其他好文   时间:2016-12-23 07:52:40    阅读次数:181
面向对象 Python的类 介绍
python中定义类的方法很简单,用关键字class,其中可以包含函数用def#!/usr/bin/envpython #-*-coding:UTF-8-*- classTest_N: """classgetanameandcountstringornumber""" def__init__(self,n): self.name=n defsqrt_num(self,cn): ifcn>=0: root=cn**0.5 return-root,r..
分类:编程语言   时间:2016-12-23 02:15:14    阅读次数:136
FreeCodeCamp心得
1、<img> <input> tags are self-closing. So that there is only one tag without a slash in front of the closing angle bracket. To be continued ... ...
分类:其他好文   时间:2016-12-23 01:45:35    阅读次数:143
【LeetCode】16. 3Sum Closest
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. ...
分类:其他好文   时间:2016-12-23 01:24:29    阅读次数:148
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!