Why "#" is deleted from config file set for value

Hi team,
any one letme know why “#” is deleted from config file set for value

Hi @pushparaja

The # is comment in python and config files.

When releasing the product, we usually set default values in config files, as commented lines with #

To change the default values, the user can uncomment the line by removing # and change the values.

1 Like

Hi @tshrinivasan,

What happen if without remove # and set value?

If you give value when it has # in front of it

If it is a python file then the particular line won’t be executed it will treated as comment.

If it is config file, then the value will not be able to load or read by the program.

1 Like

Perfect.Thanks community @GoldAyan @tshrinivasan :clap:

Anything following the # on that line will be ignored by the Python interpreter. Comments are useful for explaining code, providing context, or temporarily disabling code during development and debugging.

1 Like