自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Haibin's Study Notes

Memooooooooooooooooory......

  • 博客(6)
  • 收藏
  • 关注

原创 Django中文显示问题

最近刚刚踏入python+django阵营,正在学习limodou的django step by step.其中第三章里面的templete中,用utf-8编码之后依然不能显示中文,灰常纳闷.甚至在templete文件(list.html)中加入也不管用网上看到说在settings.py里面更改为GB格式的中文编码,我没试过,因为我觉得不管怎样还是utf格式比较标准.找了半天解决办法也没找到,自己

2008-09-25 23:32:00 2356 3

原创 Python基础 (3) - String, Long String, Raw String

我喜欢用例子说明,语文不是很好-_-,直接看code吧 长String,可以用 .......来定义,或者"""......"""   >>> print This is really a long Sting,I want to playbut I have no timepython is good,show a "hello world"en

2008-09-15 13:10:00 1358

原创 Python基础 (2) - 输入读入input, raw_input

>>> input ("my age is : ")my age is :2323  >>> raw_input("my age is : ")my age is : 2323 有什么不一样?再看一个例子 >>> age = input(" how old r u ?") how old r u ?23>

2008-09-15 12:54:00 3930

原创 Python基础(1) - Numbers and Expressions

1. 基本运算,如下:          基本运算不做过多解释. >>>1+23>>>5-14>>>1/20>>>1.0/2.00.5>>>1/2.00.5>>>2.0*24.02. Python Divstion需要加入代码: from __future__ import division

2008-09-15 12:40:00 579

原创 Python Basic

  1. swap two elements     a, b = b, a  #fk, it is so easy. 2. Chained Logical     a     same with:     a    #lol, I love python, easy easy and easy 3. Indexing a sequence    

2008-09-15 11:31:00 423

原创 SVN update commands

  This is the note of how to update files to SVN server Used for FIT2022-Computer System 2 (Operating system) svn co SVNADDR/Floder add and edit the file want to upload svn add FILENAME svn comm

2008-09-15 11:28:00 363

空空如也

空空如也

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

TA关注的人

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