#!/usr/bin/env python3 # -*- coding: utf-8 -*- s = 'Python-中文' print(s) b = s.encode('utf-8') print(b) print(b.decode('utf-8')) content = 'i\'am good' content = "i'am good" #// temp = content[0,3]; #截取 temp = temp + "你好";#r""" 直接显示全部内容