其实啊,将spark的压缩包解压好,就已经是spark的最简易安装了。 其实啊,想说的是,只要将spark这压缩包解压好,就已经是spark的最简易安装了。 ...
分类:
其他好文 时间:
2017-03-23 21:42:52
阅读次数:
403
ORM:(在django中,根据代码中的类自动生成数据库的表也叫--code first) ORM:Object Relational Mapping(关系对象映射) 我们写的类表示数据库中的表 我们根据这个类创建的对象是数据库表里的一行数据 obj.id obj.name.....就是数据库一行数 ...
分类:
编程语言 时间:
2017-03-23 21:36:34
阅读次数:
1568
Description The method strip() returns a copy of the string in which all chars have been stripped from the beginning and the end of the string (defaul ...
分类:
编程语言 时间:
2017-03-23 21:33:32
阅读次数:
194
Map applies a function to all the items in an input_list Blueprint Most of the times we want to pass all the list elements to a function one-by-one an ...
分类:
编程语言 时间:
2017-03-23 21:27:04
阅读次数:
175
1.读取txt read() 读取整个文件。 readline() 读取一行数据。 readlines() 读取所有行的数据。 read() 读取整个文件。 readline() 读取一行数据。 readlines() 读取所有行的数据。 readline() 读取一行数据。 readlines() ...
分类:
编程语言 时间:
2017-03-23 21:19:24
阅读次数:
509
基本 GET 请求 基本 POST 请求 其他类型的请求 添加 header 添加 cookies 设置超时(s) ...
分类:
编程语言 时间:
2017-03-23 21:17:38
阅读次数:
177
http://wenqiang-china.github.io/2016/05/13/python-opetating-excel/ ...
分类:
编程语言 时间:
2017-03-23 20:59:03
阅读次数:
146
一 常用模块 定义:可以实现某种功能的.py结尾的python文件,文件名为test.py,则模块名为test 导入方法 import 模块名 import 模块名1,模块名2 from 模块名 import * 不建议使用这种方法,容易引起模块中的方法被程序中的同名方法覆盖的错误 from 模块名 ...
分类:
编程语言 时间:
2017-03-23 20:49:19
阅读次数:
256
import logging try: do-something-block except: logging.exception("Exception Logged") ...
分类:
编程语言 时间:
2017-03-23 20:46:17
阅读次数:
181