Use of backticks (``) is rare in python, but they are legal in python 2.x (deprecated in python 3) and are an equivalent of the special method __repr__(). Other than python 2.x they mean different things in other programming languages. For example, they are freely used in a bash script. The text between backticks is executed and replaced by the output of the command (minus the trailing newline characters), in Perl, they are almost used same as in bash script (to execute a statement but never return).