会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
奥巴驴在此
博客园
首页
新随笔
联系
订阅
管理
2017年3月11日
python第二天
摘要: python2.7 #解码 需要指定原来编码; 临时变量 temp = “abc” # utf-8 temp_unicode = temp.decode('utf-8') temp_gbk = temp.unicode.decode('gbk') python3.6版 temp_gpb = temp
阅读全文
posted @ 2017-03-11 09:56 奥巴驴在此
阅读(81)
评论(0)
推荐(0)
2017年3月6日
python第一天
摘要: 恢复内容开始 #!/usr/bin/env python # _*_ coding:utf-8 _*_ 获取用户输入密码 import getpass 获取用户输入 getpass.getpass #变量名 数字,字母,下划线 不能以数字开通 基本数据类型:数字、 字符串 “字符串” ‘字符串’ “
阅读全文
posted @ 2017-03-06 21:17 奥巴驴在此
阅读(99)
评论(0)
推荐(0)
公告