1. Directory List
Ruby
Dir.entries("D:/").each { |i| print File.join("D:/",i), "\n" }
import os for f in os.listdir("D:/"): print( os.path.join("D:/",f) )
for f in readdir("D:/",join=true) print( f, "\n" ) end
댓글 없음:
댓글 쓰기