Displaying 1 result from an estimated 1 matches for "subdirlist".
2015 Oct 09
3
Python version for scripts in LLVM?
...# be grammatically correct
-print "The owner(s) of the (" + path + ") is(are) : " + str(owners_name)
+print("The owner(s) of the (" + path + ") is(are) : " + str(owners_name))
exit(0)
@@ -119,7 +120,7 @@
# not yet used
root = "."
for dir,subdirList,fileList in os.walk( root , topdown=False ) :
- print "dir :" , dir
+ print("dir :" , dir)
for fname in fileList :
- print "-" , fname
- print
+ print("-" , fname)
+ print()