Adding '#' character in env file not working

I have to pass ldap password in env file that contains ‘#’ then Pycharm considered it comment after # like when i add Hello#123 in env then in code it shows as Hello instead of Hello#123. I also tried “Hello#123” but it shows in code like "Hello instead Hello#123.

0
1 comment

I tried using “Hello#123” in the .env file and retrieved it using os.getenv() and it came up properly

0

Please sign in to leave a comment.