自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

楼上小宇_home

Write the code, Change the world

  • 博客(11)
  • 资源 (11)
  • 收藏
  • 关注

原创 PyCharm 格式化python代码

ctrl+alt+L可以格式化

2018-03-28 14:18:56 7448

原创 互联网笔试各种主流语言在OJ上的的标准输入输出

1.求a+b的和c++#include <iostream>using namespace std;int main() { int a,b; while(cin >> a >> b)//注意while处理多个case cout << a+b << endl;}javaimpo...

2018-03-27 22:01:59 7688 1

原创 python版本控制神器Virtualenvwrapper的使用

介绍1.可以使不同应用开发环境独立 2.环境升级不影响其他应用,也不会影响全局的python环境 3.它可以防止系统中出现包管理混乱和版本的冲突安装通过以下命令进行安装pip install virtualenvwrapper-win使用通过下面命令创建一个虚拟环境mkvirtualenv py3virtualenv由于本人电脑默认的python环境是Anaco...

2018-03-26 10:22:48 5372

原创 关于C语言中的数组指针、指针数组以及二级指针

概念解释数组指针:首先它是一个指针,它指向一个数组,即指向数组的指针;在32 位系统下永远是占4 个字节,至于它指向的数组占多少字节,不知道。数组指针指向的是数组中的一个具体元素,而不是整个数组,所以数组指针的类型和数组元素的类型有关。 指针数组:首先它是一个数组,数组的元素都是指针,数组占多少个字节由数组本身决定。它是“储存指针的数组”的简称,即每个元素都是指针。 二级指针 : 如果一个...

2018-03-10 11:20:56 8243 2

转载 python中的新式类与旧式类的一些基于descriptor的概念(下)

3. Descriptor介绍3.1 Descriptor代码示例3.2 定义3.3 Descriptor Protocol(协议)3.4 Descriptor调用方法4. 基于Descriptor实现的功能4.1 property4.2 函数和方法,绑定与非绑定4.3 super5. 结尾3. Descriptor介绍3.1 Descriptor代码示例class RevealAccess(ob...

2018-03-10 09:59:54 5384

转载 python中的新式类与旧式类的一些基于descriptor的概念(上)

python中基于descriptor的一些概念(上)1. 前言2. 新式类与经典类2.1 内置的object对象2.2 类的方法2.2.1 静态方法2.2.2 类方法2.3 新式类(new-style class)2.3.1 __init__方法2.3.2 __new__静态方法2.4. 新式类的实例2.4.1 Property2.4.2 __slots__属性2.4.3 __getattrib...

2018-03-10 09:58:29 5390

原创 python 中*args 和 **kwargs的区别

*args的用法当你不确定你的函数里将要传递多少参数时你可以用*args.例如,它可以传递任意数量的参数:def print_everything(*args): for count, thing in enumerate(args): print('{0}.{1}'.format(count, thing))print_everything('apple'...

2018-03-08 22:06:02 5411

原创 python中__dict__与dir()区别

前言Python下一切皆对象,每个对象都有多个属性(attribute),Python对属性有一套统一的管理方案。 __dict__与dir()的区别:dir()是一个函数,返回的是list;__dict__是一个字典,键为属性名,值为属性值;dir()用来寻找一个对象的所有属性,包括__dict__中的属性,__dict__是dir()的子集;并不是所有对象都拥有__dic...

2018-03-08 20:37:03 6132

原创 用python的生成器yield轻松解决8皇后的问题以及斐波拉契数列

def conflict(state, nextX): nextY = len(state) for i in range(nextY): if abs(state[i] - nextX) in (0, nextY - i): return True return Falsedef queens(num=8, state=()):...

2018-03-08 17:16:44 5481

原创 Pandas 使用入门

Pandas 简介运行环境jupyter notebookpython 3.6pandas '0.20.3'matplotlib '2.1.0'学习目标: * 大致了解 pandas 库的 DataFrame 和 Series 数据结构 * 存取和处理 DataFrame 和 Series 中的数据 * 将 CSV 数据导入 pandas 库的 DataFr...

2018-03-05 09:57:33 5659 2

原创 Unity5.6+ 导出Android 应用程序apk的环境配置及导出过程

首先下载并安装安卓SDK和java的JDK安卓sdk下载: http://www.android-studio.org/ 也可以在这下载: 链接:http://pan.baidu.com/s/1bpcAWm7 密码:q16c下载完成后,进行解压: 一定要放在自己能记住的地方,并且不能有中文路径 java的jdk下载: http://www.oracle.com/technetwor...

2018-03-02 09:27:55 14809

银行笔试-计算机知识部分_sty修改.pdf

银行笔试-Java基础知识必备,java常用基础知识,java学习资料

2019-10-05

item_seleted

QT中使用rubberband橡皮筋等方法进行选中多个物体,展示效果如下: https://img-blog.csdnimg.cn/20190122112611529.gif

2019-01-22

python画小猪佩奇

用python快速画出小猪佩奇,具体的效果展示可以看这里:https://img-blog.csdnimg.cn/20190120103016165.gif

2019-01-20

Box2D_v2.1.2已经编译好的文件

Box2D is a 2D physics engine for games. For help with Box2D, please visit http://www.box2d.org. There is a forum there where you may post your questions.

2018-11-07

Box2D_v2.1.2

Box2D_v2.1.2 Box2D is a 2D physics engine for games. For help with Box2D, please visit http://www.box2d.org. There is a forum there where you may post your questions.

2018-11-07

2018 Google kickstart Problem A. Planet Distance 输入数据

2018 Google kickstart Problem A. Planet Distance 输入数据

2018-05-27

笨方法学python3 Learn Python 3 the Hard Way

笨方法学Python号称最经典的python入门书籍现在出python3版本的了,你还不快来学? 英文高清带书签版本 You Will Learn Python 3! Zed Shaw has perfected the world’s best system for learning Python 3. Follow it and you will succeed—just like the millions of beginners Zed has taught to date! You bring the discipline, commitment, and persistence

2018-04-06

用python进行数据分析 第二版 Python for Data Analysis, 2nd Edition

用python进行数据分析 第二版 英文高清带书签版本 Get complete instructions for manipulating, processing, cleaning, and crunching datasets in Python. Updated for Python 3.6, the second edition of this hands-on guide is packed with practical case studies that show you how to solve a broad set of data analysis problems effectively. You’ll learn the latest versions of pandas, NumPy, IPython, and Jupyter in the process. Written by Wes McKinney, the creator of the Python pandas project, this book is a practical, modern introduction to data science tools in Python. It’s ideal for analysts new to Python and for Python programmers new to data science and scientific computing. Data files and related material are available on GitHub. Use the IPython shell and Jupyter notebook for exploratory computing Learn basic and advanced features in NumPy (Numerical Python) Get started with data analysis tools in the pandas library Use flexible tools to load, clean, transform, merge, and reshape data Create informative visualizations with matplotlib Apply the pandas groupby facility to slice, dice, and summarize datasets Analyze and manipulate regular and irregular time series data Learn how to solve real-world data analysis problems with thorough, detailed examples

2018-04-06

SQL与关系数据库理论:如何编写健壮的SQL代码 第二版

对于数据库管理与开发人员来说,使用 SQL 时会到处遭遇困难和陷阱。只有深入理解关系理论,并将理论应用于实践,才能避免这些困难和陷阱。 《SQL 与关系数据库理论:如何编写健壮的 SQL 代码(第 2 版)》作者深入阐述了关系理论,以严谨的态度对 SQL 与关系理论进行详尽而深入的对比、讨论和思考,并且使用大量示例和练习展示怎样才能将关系理论正确地应用到 SQL 中,得到健壮的 SQL 代码,为高级数据库开发人员提供大量常见 SQL 问题的解决之道。

2018-02-26

学习 Go 语言(Golang)

学习 Go 语言(Golang),简单易懂的Go语言教程,让你分分钟学会GO语言

2018-01-26

nginx的1.12.2 下 载

nginx-1.12.2的下载应用,免安装,即可运行。 nginx-1.12.2的下载应用,免安装,即可运行

2018-01-26

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除