Login
|
Signup
langref.org
-
python
add..
all
clojure
cpp
csharp
erlang
fantom
fsharp
go
groovy
haskell
java
ocaml
perl
php
ruby
scala
Home
All
Solved
Unsolved
Strings
Numbers
Regex
Lists
Maps
Structure
Files
Dates
OOP
Networking
XML
Algorithms
Misc
Parallel
View Problem
Files
Directories
Process each file in a directory
python
2.4
import os
results = (process(f) for f in os.listdir(".") if os.path.isfile(f))
import os
results = (process(f) for f in os.listdir(".") if os.path.isfile(f))
Submit a new solution for
python
There are 16 other solutions in
additional
languages (
clojure
,
cpp
,
csharp
,
erlang
...)