Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
darkmatter
V2EX  ›  Linux

很诡异的一个问题。

  •  
  •   darkmatter · Mar 29, 2016 · 3139 views
    This topic created in 3718 days ago, the information mentioned may be changed or developed.

    系统环境 : Linux Mint

    前几天对目标目录使用 os.walk 遍历、打开文件正常,今天再使用 os.walk 进行遍历同一个目录,尝试打开文件时,却出现 IOError 。 (单独打开一个文件也不行)

    PS :目标文件、目标目录均存在、权限没问题、 cat 可以正常查看文件内容,此目录前几天读取正常可遍历和打开文件。

    请教问题可能出现在哪?

    2 replies    2016-04-27 22:17:24 +08:00
    gxustudent
        1
    gxustudent  
       Mar 30, 2016
    有个鬼住在你的硬盘里。
    mongost3t
        2
    mongost3t  
       Apr 27, 2016
    python 的权限变了?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2687 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 15:51 · PVG 23:51 · LAX 08:51 · JFK 11:51
    ♥ Do have faith in what you're doing.