小编cha*_*amy的帖子

如何使用空格将tamil unicode值数组转换为python中的tamil字符串?

这是泰米尔语unicode代码点列表

[u'\ u0b9a',u'\ u0b9f',u'\ u0bcd',u'\ u0b9f',u'\ u0b9a',u'\ u0baa',u'\ u0bc8',u'\ u0baf',u '\ u0bbf',u'\ u0bb2',u'\ u0bcd',u'\ u0ba8',u'\ u0bc'',u'\ u0bb1',u'\ u0bcd',u'\ u0bb1',u'\ u0bc1]

如何将其转换为可读字符串?

python unicode tamil indic python-unicode

6
推荐指数
1
解决办法
1991
查看次数

如何在python中使用数组值写入文件?

>>> w
['Parts-of-speech', 'disambiguation', 'techniques', '(', 'taggers', ')',
 'are', 'often', 'used', 'to', 'eliminate', '(', 'or', 'substantially',
 'reduce', ')', 'the', 'parts-of-speech', 'ambiguitiy', 'prior', 'to',
 'parsing.', 'The', 'taggers', 'are', 'all', 'local', 'in', 'the', 'sense',
 'that', 'they', 'use', 'information', 'from', 'a', 'limited', 'context',
 'in', 'deciding', 'which', 'tag', '(', 's', ')', 'to', 'choose', 'for',
 'each', 'word.', 'As', 'is', 'well', 'known', ',', 'these', 'taggers',
 'are', 'quite', 'successful', '.']
>>> q=open("D:\unieng.txt","w")
>>> q.write(w)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: argument …
Run Code Online (Sandbox Code Playgroud)

python string

5
推荐指数
1
解决办法
1万
查看次数

如何在python中运行.bat文件?

调用python'D:\ chan.bat'

"一组python语句存储在记事本中并保存为.bat扩展名.如何在python中运行这些语句.可以是语法?"

python batch-file

-3
推荐指数
1
解决办法
3万
查看次数

标签 统计

python ×3

batch-file ×1

indic ×1

python-unicode ×1

string ×1

tamil ×1

unicode ×1