[Chicago] Reading From a Directory

Michael Tobis mtobis at gmail.com
Tue May 10 02:13:55 CEST 2011


This is just a matter of emphasis. Clearly os.listdir is among the
batteries which are included.

If you're writing the sort of smallish script that moves files around,
it may be convenient to just put

"from os import *"
"from os.path import *"

at the top of the script

and maybe the resulting language will better fulfill your
expectations, at the expense of a greatly increased set of keywords to
keep track of.

On Mon, May 9, 2011 at 7:04 PM, Dan Krol <orblivion at gmail.com> wrote:
>>>> It's a scripting language and you have no
>>>> business "programming" in it.

That baffles me. If anything your complaint seems to me like it would
be the other way around.

mt


More information about the Chicago mailing list