我试图使用django和python读取日志文件或任何其他文件并在网络浏览器中显示。
I used this code
data_file = open('/var/log/samba', 'r') # note -- 'r' not r
data = data_file.readlines() # returns a list of lines
I get this error
|
|
刀枪不入的斑马 · 关于使用ProcessBuilder调用sh ...· 1 年前 · |
|
|
阳刚的橙子 · 有没有办法通过openpyxl将下拉列表保存 ...· 3 年前 · |
|
|
坏坏的遥控器 · 复杂前端组件 - ...· 3 年前 · |
|
|
道上混的草稿纸 · VS2017 编写 C++ DLL 给 ...· 3 年前 · |