What is @ used for?

Thomas Krüger krueger at k-dns.de
Sun Aug 8 21:01:15 CEST 2004


Darren Dale wrote:

> I was looking through Pybliographer's source yesterday, and I dont
> recognize this syntax:
> 
> version  = "@version@"
> progname = "@package@"


It looks like a special string used by an external application working with
the source code.
CVS for example replaces (better expands) some keywords between $ characters
with information like version, author or history.
AFAIK there is no special meaning in Python.

Thomas





More information about the Python-list mailing list