MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Use of names

  • To: mathgroup at smc.vnet.net
  • Subject: [mg99919] Re: Use of names
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Tue, 19 May 2009 06:46:00 -0400 (EDT)
  • References: <gurcm1$gt8$1@smc.vnet.net>

filenames=FileNames["*.png"];
pictures = Import[#]& /@ filenames;

with /@ an annreviation of Map

Cheers -- Sjoerd

On May 18, 12:18 pm, Alain Mazure <alain.maz... at oamp.fr> wrote:
>   Hi
>
>    I would like to import files from   directories (e.g .png files)
>
> The names are not always the same but the extension is.
>
> I could find them by the command:
>
> FileNames["*.png"]
>
> which gives  their names, but how could I import all of them since the =
=
>
> command :
>
> Import["TEMPO_*.png"]
>
> does not work in Mathematica
>
> Thanks
>
> Files examples:
>
> {"TEMPO_ALL_histo.png", "TEMPO_histo_17.png"}
>
> Alain Mazure
>
> Laboratoire d'Astrophysique de Marseille
> P=F4le de l'=C9toile Site de Ch=E2teau-Gombert
> 38, rue Fr=E9d=E9ric Joliot-Curie
> 13388 Marseille cedex 13, France
>
> http://alain.mazure.free.fr/
>
> Mails:
> alain.maz... at oamp.fr
> alain.maz... at free.fr
>
> Phones:
> Lab: 33(0)491055902
> Mobile: 33(0)603556287
> Fax: 33(0)491661855
> SKYPE: MAZURE-ALAIN



  • Prev by Date: Re: Use of names
  • Next by Date: Re: Use of names
  • Previous by thread: Re: Use of names
  • Next by thread: Re: Use of names