04 2019 档案
摘要:1、python3中的字符串可以使用引号(’或”)开创建。 a = "hello World!” print(type(a)) 结果:<class 'str'> 2、python没有C语言等其他语言中“char”类型,哪怕只有一个字符,python也按照字符串处理。python访问子字符串,可以使用
阅读全文
摘要:在使用Ubuntu14.04安装pyaudio是出现错误src/_portaudiomodule.c:29:23: fatal error: portaudio.h: No such file or directory 解决办法: sudo apt-get install python3-pyaud
阅读全文

浙公网安备 33010602011771号