My Space
My Tasks/Projects
Current
Marked
Projects I Involved
New Task
New Project
My Jottings & Pics
Marked
New Jotting
New Pictures
Events I Attend
New Event
Calendar
My Opportunities
Post New...
Group
Hot Group
Group List
Create Group Space
Community
Classified
Popular Tags
Journal
Search
Wanted
My Contacts
Contacts' Updates
Who visits me?
My Favorites
Login
Register
Select Language
-------------
English
Simplified Chinese
lidongoks Tag
: 中文字符截断
(1 items)
Python 截断中文字符串的方法,以及中文字符个数统计。
# -*- coding: cp936 -*-# count str have how many chars# 统计文件中中文的字符数。并且演示截断中文字符串的样子。file = open('test ...Last Update: 11/28/2007
Item 1-1 of 1
lidongoks Public Page
See other persons stuff