epydoc CLI and many files

Dave Benjamin ramen at lackingtalent.com
Wed Sep 7 13:35:26 EDT 2005


Terry Hancock wrote:
> On Monday 05 September 2005 08:10 am, Laszlo Zsolt Nagy wrote:
> 
>>The problem is that now I have so many modules that the shell (cmd.exe) 
>>cannot interpret this as a one command. 
> 
> In POSIX systems, the shell expands wildcards into multiple files on
> the command line, but under DOS/Windows systems, the expansion normally
> takes place within the program (I think this is still true).  In this
> case, I would guess that the Python interpreter would do the
> expansion. That should avoid any limits on command length that
> cmd.exe is giving you (I'm trusting that Python is much more capable).

Python does not do this translation for you automatically, but it does 
provide the tools to make it easy. See the "glob" module:

http://docs.python.org/lib/module-glob.html

Dave



More information about the Python-list mailing list