Anonymous user
Walk a directory/Recursively: Difference between revisions
→{{header|Python}}
(→{{header|Scala}}: Seq.single does not exist in Scala 2.8.1) |
|||
Line 1,278:
print os.path.join(root, filename)</lang>
{{works with|Python|<nowiki>2.x</nowiki>}}
{{works with|Python|<nowiki>3.x</nowiki>}}
A more strictly comparable port of this 2.3+ code to earlier versions of Python would be:
|