On 30 Mar 2007 20:23:00 -0400, Greg Perry <[EMAIL PROTECTED]> wrote:
> Yeah I figured that. I am trying to find a way to have the program detect if
> the user input is a file or directory, which is easy enough with os.path.
> However, os.path makes no distinction between a regular file and a ma
Greg Perry schreef:
> Yeah I figured that. I am trying to find a way to have the program
> detect if the user input is a file or directory, which is easy enough
> with os.path. However, os.path makes no distinction between a
> regular file and a mask, eg filename.txt or *.txt. I guess I'll have
* Greg Perry <[EMAIL PROTECTED]> [070331 01:21]:
> Yeah I figured that. I am trying to find a way to have the program detect if
> the user input is a file or directory, which is easy enough with os.path.
> However, os.path makes no distinction between a regular file and a mask, eg
> filename.t
Yeah I figured that. I am trying to find a way to have the program detect if
the user input is a file or directory, which is easy enough with os.path.
However, os.path makes no distinction between a regular file and a mask, eg
filename.txt or *.txt. I guess I'll have to have a second set of t
* Kent Johnson <[EMAIL PROTECTED]> [070330 13:04]:
> Greg Perry wrote:
> > Hello List Members,
> >
> > I am working on a simple program and would like to know the best way
> to approach this. Using getops I am parsing the argv array to grab
> command line options; from the command line the user ca
Greg Perry wrote:
> Hello List Members,
>
> I am working on a simple program and would like to know the best way
to approach this. Using getops I am parsing the argv array to grab
command line options; from the command line the user can specify either
a filename or a directory (but not both). Is t
Hello List Members,
I am working on a simple program and would like to know the best way to
approach this. Using getops I am parsing the argv array to grab command line
options; from the command line the user can specify either a filename or a
directory (but not both). Is there an eloquent wa