this must be a stupid question ...
gherron at islandtraining.com
Sun Jul 29 00:41:56 CEST 2007
Stef Mientki wrote:
> but I can;t find the answer ;-)
> As searching for the '$' sign doesn't work well in the help files,
> I can not find out, where is the '$' sign used for.
> If I try to use it in names,
> I get a compiler error,
> so it probably has some special meaning.
> Stef Mientki
The $ is not used in any Python syntax. Neither in variable names nor
any syntactical construct.
Of course, like any character, it can be used in strings. (And some
packages, like re, will make special use of a $ in a string.)
More information about the Python-list