0
我想在python中使用netrc lib運行一段代碼。我從互聯網上得到了一些例子,但他們在第一行都失敗了。netrc python
import netrc
info = netrc.netrc()
Traceback (most recent call last):
File "./netrc.py", line 2, in <module>
import netrc
File "/usr/local/etc/xxx/netrc.py", line 5, in <module>
info = netrc.netrc()
TypeError: 'module' object is not callable