Open hdy0715 opened 2 years ago
请问一下这句code的参数是不是有问题呀 _, term_width = os.popen('stty size', 'r').read().split() term_width = int(term_width) 当我run mainproCK+.py时会有这样的错误 , term_width = os.popen('stty size', 'r').read().split() ValueError: not enough values to unpack (expected 2, got 0)
我也遇到了这个问题,请问下解决了吗?
请问一下这句code的参数是不是有问题呀 _, term_width = os.popen('stty size', 'r').read().split() term_width = int(term_width) 当我run mainproCK+.py时会有这样的错误 , term_width = os.popen('stty size', 'r').read().split() ValueError: not enough values to unpack (expected 2, got 0)