First time here? Check out the FAQ!

Revision history  [back]

let's see...

If I make my snippet look like this:

__author__ = "%(MYNAME||$(USERNAME))s"

I can't quite figure out where the MYNAME variable can be set...but if I default it to $(USERNAME) (after the double-pipe), I get the value of the USERNAME environment variable.