
Hi nusenu, tor's manual says [1]... "To split one configuration entry into multiple lines, use a single backslash character (\) before the end of the line. Comments can be used in such multiline entries, but they must start at the beginning of a line." I just double checked and it works... ======================================== torrc ======================================== ControlPort 9051 ExcludeNodes \ # nickname: moria1 9695DFC35FFEB861329B9F1AB04C46397020CE31, \ # nickname: tor26 847B1F850344D7876491A54892F904934E4EB85D ======================================== % cat demo.py from stem.control import Controller with Controller.from_port() as controller: controller.authenticate() print(controller.get_conf('ExcludeNodes')) % python demo.py 9695DFC35FFEB861329B9F1AB04C46397020CE31,847B1F850344D7876491A54892F904934E4EB85D ======================================== [1] https://2019.www.torproject.org/docs/tor-manual.html.en#_the_configuration_f...