Walk a directory/Recursively: Difference between revisions

Content added Content deleted
(→‎{{header|Scala}}: Seq.single does not exist in Scala 2.8.1)
Line 1,278: Line 1,278:
print os.path.join(root, filename)</lang>
print os.path.join(root, filename)</lang>


{{works with|Python|<nowiki>2.x</nowiki>}} (deprecated; removed in 3.0)
{{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:
A more strictly comparable port of this 2.3+ code to earlier versions of Python would be: