qwerty-learner icon indicating copy to clipboard operation
qwerty-learner copied to clipboard

关于python array fromfile的错误修正

Open cosing opened this issue 7 months ago • 0 comments

这里是错误的翻译。

https://github.com/RealKai42/qwerty-learner/blob/fafb553fff9e665443269f30d92b19bd49082126/public/dicts/python-array.json#L32-L43

应为链接
file object f 中读取 n 项(视为机器值)并将它们添加到数组末尾。

简化一下感觉就是 从文件中读取n项添加到数组末尾(我也不知道怎么简化比较好

(并且,感觉是不是将这个文件里面的列表,全部换为数组比较好一些,列表更有种list的感觉?)

cosing avatar Jul 23 '24 08:07 cosing