fork download
  1. path1 = "asd"
  2. path2 = "asd"
  3.  
  4. def compare_dir(path1, path2):
  5. sub_path1 = path1 + "some_path"
  6. sub_path2 = path2 + "some_path"
  7. compare_dir(sub_path1, sub_path2)
  8.  
  9. def compare_dir_correct(path1, path2):
  10. global path1, path2
  11. sub_path1 = path1 + "some_path"
  12. sub_path2 = path2 + "some_path"
  13. compare_dir(sub_path1, sub_path2)
  14.  
  15. compare_dir_correct("a1", "a2")
  16. #compare_dir("a1", "a2")
Compilation error #stdin compilation error #stdout 0.01s 9448KB
stdin
Standard input is empty
compilation info
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/py_compile.py", line 117, in compile
    raise py_exc
py_compile.PyCompileError: Sorry: IndentationError: unindent does not match any outer indentation level (prog.py, line 11)
stdout
Standard output is empty