This language bar is your friend. Select your favorite languages!

Idiom #180 List files in directory

Create list x containing the contents of directory d.

x may contain files and subfolders.
No recursive subfolder listing.

#Edit dateEdit SummaryEditor
👁 Δ 14 2019-03-26, 21:25 [Python] +DocURL (for python 3) programming-idioms.org
👁 Δ 13 2019-03-19, 16:21 [D] Shave unecessary code off. cym13
👁 Δ 12 2019-03-19, 16:10 [D] Respect the assignment's variable names cym13
👁 Δ 11 2019-03-19, 16:06 New D implementation by user [cym13] cym13
👁 Δ 10 2019-02-11, 19:56 New Python implementation by user [Oldboy] Oldboy
👁 Δ 9 2019-02-01, 05:44 [Rust] Added explanation Debaran
👁 Δ 8 2019-02-01, 05:42 New Rust implementation by user [Debaran] Debaran
👁 Δ 7 2019-01-13, 09:54 [Pascal] Release handle Bart
👁 Δ 6 2019-01-11, 17:07 [Ruby] underscore in comment does not work steenslag
👁 Δ 5 2019-01-11, 17:06 [Ruby] mistake steenslag
👁 Δ 4 2019-01-11, 17:05 New Ruby implementation by user [steenslag] steenslag
👁 Δ 3 2019-01-11, 12:26 New Pascal implementation by user [Bart] Bart
👁 Δ 2 2019-01-11, 12:08 New Pascal implementation by user [Bart] Bart
1 2019-01-11, 09:33 Idiom creation by user [programming-idioms.org] programming-idioms.org