PyCharm
 
Get PyCharm
You are viewing the documentation for an earlier version of PyCharm.

File template variables

Last modified: 30 November 2021

A file template can contain variables, which are replaced by their values when the template is applied. A variable is a string that starts with a dollar sign $ followed by the variable name. The variable name may optionally be enclosed in curly braces. For example: $MyVariable and ${MyVariable} are different notations of the same variable.