Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于python array fromfile的错误修正 #819

Open
cosing opened this issue Jul 23, 2024 · 0 comments
Open

关于python array fromfile的错误修正 #819

cosing opened this issue Jul 23, 2024 · 0 comments

Comments

@cosing
Copy link

cosing commented Jul 23, 2024

这里是错误的翻译。

{
"name": "fromfile()",
"trans": [
"用于从列表中找出某个值第一个匹配项的索引位置"
]
},
{
"name": "index()",
"trans": [
"用于从列表中找出某个值第一个匹配项的索引位置"
]
},

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

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant