fork download
  1. import os
  2.  
  3. def walk(dir):
  4. return [walk(os.path.join(dir, name))
  5. if os.path.isdir(os.path.join(dir, name))
  6. else os.path.join(dir, name)
  7. for name in os.listdir(dir)]
Success #stdin #stdout 0.04s 9984KB
stdin
Standard input is empty
stdout
Standard output is empty