On Apr 27, 1:57 am, David <[EMAIL PROTECTED]> wrote:
> On Sat, Apr 26, 2008 at 7:56 PM, jimgardener <[EMAIL PROTECTED]> wrote:
>
> > > * Run cmd.exe and see if you can run "dir
> > f:\\code\\python\pgmgallery/*.*"
>
> > that causes a message 'Invalid switch - "*.*".'
>
> Probably because on the
On Sat, Apr 26, 2008 at 7:56 PM, jimgardener <[EMAIL PROTECTED]> wrote:
>
> > * Run cmd.exe and see if you can run "dir f:\\code\\python\pgmgallery/*.*"
> >
>
> that causes a message 'Invalid switch - "*.*".'
>
>
Probably because on the command-line, / means a command-line option.
Been a while
> * Run cmd.exe and see if you can run "dir f:\\code\\python\pgmgallery/*.*"
>
that causes a message 'Invalid switch - "*.*".'
> * Try using other directories under F: drive in your program and see> when
> you start hitting the problem.
i tried that..on some directories in the same drive this
On Sat, 26 Apr 2008 19:07:45 +1000, Francesco Bochicchio
<[EMAIL PROTECTED]> wrote:
On Sat, 26 Apr 2008 01:24:23 -0700, jimgardener wrote:
hi
i have a directory containing .pgm files of P5 type.i wanted to read
the pixel values of these files ,so as a firststep i wrote code to
make a list
On Sat, 26 Apr 2008 01:24:23 -0700, jimgardener wrote:
> hi
> i have a directory containing .pgm files of P5 type.i wanted to read
> the pixel values of these files ,so as a firststep i wrote code to
> make a list of filenames using listdir
>
> pgmdir="f:\code\python\pgmgallery" # where i have
>
> i get the following error
> WindowsError: [Error 123] The filename, directory name, or volume
> label syntax is incorrect: 'f:\\code\\python\pgmgallery/*.*'
>
> i am running python on winXP ..can anyone tell me why i get this
> error?
> --
>From some Googling, it looks like this error ca
hi
i have a directory containing .pgm files of P5 type.i wanted to read
the pixel values of these files ,so as a firststep i wrote code to
make a list of filenames using listdir
pgmdir="f:\code\python\pgmgallery" # where i have pgm files
g2=listdir(pgmdir)
i get the following error
WindowsError