会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
代码改变世界
Cnblogs
Dashboard
Login
Home
Contact
Gallery
Subscribe
RSS
方斌
为了最终的财务自由,努力提升自己。。。
随笔档案-2022年05月
在python中判断字符串是str还是unicode
2022-05-30 17:49 by 方斌, 378 阅读,
收藏
,
摘要: if isinstance(iniStr , unicode ): print "unicode" elif isinstance(iniStr, str): print "str" else: print "no idea"
阅读全文
0 Comment
About