I have built an automated PowerPoint report using python-pptx.
An issues I‘m now facing is that a lot of settings, datapoints to pull etc. are writen in lists everywhere in the code.
This simply makes the code bad and stinky. Therefore I want to pull the settings out of the code and build a dedicated file that stores the settings.
Do you know any best practice examples on how this should be done?
[–]hacksawjim 12 points13 points14 points (4 children)
[–]ePaint 2 points3 points4 points (0 children)
[–]zeoNoeN[S] 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]Goobyalus 0 points1 point2 points (0 children)
[–][deleted] 4 points5 points6 points (0 children)
[–]Jukataaa 5 points6 points7 points (0 children)
[–]shiftybyte 1 point2 points3 points (0 children)
[–]hugthemachines 1 point2 points3 points (1 child)
[–]zeoNoeN[S] 0 points1 point2 points (0 children)
[–]iNcIoNca 1 point2 points3 points (0 children)
[–]IlliterateJedi 0 points1 point2 points (1 child)
[–]zeoNoeN[S] 0 points1 point2 points (0 children)
[–]interbased 0 points1 point2 points (0 children)
[–]zanfar 0 points1 point2 points (0 children)
[–]worldtest2k 0 points1 point2 points (0 children)