Re: what is meaning of "@" in pyhon program.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Thierry

    Re: what is meaning of "@" in pyhon program.

    ie:
    @if os.exists(foo):
       etc
       etc
    >
    and
    >
    @for blah:
       etc
       etc
    >
    This sounds more like PHP code, where a @ prefixing a function means
    that even if there are errors or warnings, you don't want to see them.
  • cokofreedom@gmail.com

    #2
    Re: what is meaning of "@&quot ; in pyhon program.

    On Jun 28, 8:41 pm, Thierry <tsch...@gmail. comwrote:
    ie:
    @if os.exists(foo):
    etc
    etc
    >
    and
    >
    @for blah:
    etc
    etc
    >
    This sounds more like PHP code, where a @ prefixing a function means
    that even if there are errors or warnings, you don't want to see them.
    Could also by Doxygen, doesn't it use something similar to show
    keywords in documents?

    Comment

    Working...