我在使用 Pyzo 4.10.2 时尝试导入操作系统时收到此消息:
ValueError:源代码字符串不能包含空字节
这是我试过的代码:
from os import *
os.mkdir('Repertoire_test')
我以前也试过import os。
当我直接在 python 中尝试它时(黑色背景解释器)它可以工作,因为我可以在我的硬盘驱动器中看到该文件夹:
Warning:
This Python interpreter is in a conda environment, but the environment has
not been activated. Libraries may fail to load. To activate this environment
please see https://conda.io/activation
Type "help", "copyright", "credits" or "license" for more information.
>>> import os
>>> os.mkdir('Rpertoire_test')
>>>
皈依舞
人到中年有点甜
慕沐林林
相关分类