Chinaunix首页 | 论坛 | 博客
  • 博客访问: 315942
  • 博文数量: 61
  • 博客积分: 365
  • 博客等级: 一等列兵
  • 技术积分: 611
  • 用 户 组: 普通用户
  • 注册时间: 2009-12-04 11:39
文章分类

全部博文(61)

文章存档

2017年(15)

2016年(13)

2015年(19)

2014年(12)

2013年(2)

我的朋友

发布时间:2017-03-30 15:50:57

django大于1.9版本,除了要加debugtools,在TEMPLATES中还要进行如下添加,还需要在html模版中load一下,{% load debugtools_tags %}As of Django 1.9, either use {% load debugtools_tags %} or add the following to the settings:点击(此处)折叠或打开.........【阅读全文】

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

发布时间:2017-03-21 17:10:39

直接上代码吧client端:点击(此处)折叠或打开#!/usr/bin/env python#!/usr/bin/env python#-*- coding: utf-8 -*-import socket,osimport tab,reHOST='172.15.111.80'PORT=9999.........【阅读全文】

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

发布时间:2017-03-09 14:16:07

......【阅读全文】

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

发布时间:2017-03-01 18:20:57

神奇功能tab.py模块(raw_input输入错误,可以删除,可以上下翻输入过的历史记录)点击(此处)折叠或打开import sysimport readlineimport rlcompleterimport osreadline.parse_and_bind('tab: complete').........【阅读全文】

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

发布时间:2015-12-03 09:02:06

许多人都知道 iPython 有很好的自动补全能力,但是就未必知道 python 也同样可以 Tab 键补全, 您可以在启动 python 后,执行下 import readline, rlcompleter; readline.parse_and_bind("tab: complete")这就可以按 Tab 键补全了。python 自启动如果您嫌每次都要键入这东西麻烦的话,可以把上边这.........【阅读全文】

阅读(716) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册