Chinaunix首页 | 论坛 | 博客
  • 博客访问: 102287
  • 博文数量: 21
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 231
  • 用 户 组: 普通用户
  • 注册时间: 2014-12-16 16:23
文章分类

全部博文(21)

文章存档

2017年(3)

2016年(9)

2015年(9)

我的朋友

发布时间:2015-09-27 18:16:12

1、安装GIT<br />安装git:yum install git<br />安装完成后执行 <br /><code class="ruby"><span class="variable">$ </span>git config --global user.name <span class="string">"Your Name"</span> <br /><span class="variable">$ </span>git config --global user.email <span class="string">"email@example.com.........【阅读全文】

阅读(1592) | 评论(0) | 转发(0)

发布时间:2015-09-10 11:47:28

新式类与旧式类的区别:<br />class A:&nbsp; &nbsp;#旧式类<br />&nbsp; &nbsp; pass<br />class B(object):&nbsp; &nbsp;#新式类<br />&nbsp; &nbsp; pass<br />a = A()&nbsp; &nbsp;b = B()&nbsp;&nbsp; 实例化<br />type(a) 输出的是instance<br />type(b) 输出的是__main__.B<br />新式类和旧式类在多继承的时.........【阅读全文】

阅读(1690) | 评论(0) | 转发(0)

发布时间:2015-09-10 11:38:49

<br /><div id="codeText" class="codeText"><ol style="margin:0 1px 0 0px;padding-left:40px;" start="1" class="dp-css"><li><span style="color:#000000;"># coding<span style="color:#0000CC;">:</span>utf<span style="color:#0000CC;">-</span>8<br /></span></li><li><br /></li><li.........【阅读全文】

阅读(1425) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

闷骚的伤2015-08-29 16:02

回复  |  举报
留言热议
请登录后留言。

登录 注册