what is meaning of "@" in pyhon program.

Damon Getsman dgetsman at amirehab.net
Fri Jun 27 12:36:04 EDT 2008


I didn't think that it was.  I just spent about 10 minutes trying to
google for the page that I found that on, but I wasn't able to turn it
up.  My google-fu sucks.  I know that I was researching a particular
part of the os module and that the snippets of script on the page had
an example containing '@if' and '@for'.  I don't remember what exactly
I used to turn it up before, though, and the link isn't in my history,
it was probably a month ago that I saw it.

Sorry, I tried.

On Jun 27, 10:44 am, Bruno Desthuilliers <bruno.
42.desthuilli... at websiteburo.invalid> wrote:
> Damon Getsman a écrit :
> > ie:
> > @if os.exists(foo):
> >    etc
> >    etc
>
> > and
>
> > @for blah:
> >    etc
> >    etc
>
> This is not valid Python. period.




More information about the Python-list mailing list