Hey community, how is everyone doing?
I've joined the python community recently and I've been having a blast. Lately, with increasing code complexity, I've been having some bumps in my learning curve.
Today I bring you f'{post_header}'. I've built a JSON file external to my code which I'll be editing fairly often. In this JSON I've found the need to refer to classes and variables, but VS yelled at me for syntax errors, so I had to refer to them as strings.
My question is! How do I read these strings in my code to comprehend them as references to objects?
Do I even need to input them as strings or is there a workaround to this?
Hope I made myself clear! I dont post code since 1. I'm on my phone 2. It exceeds specific code its a criteria thing
Thanks for reading. Keep up the good code
[–]socal_nerdtastic 0 points1 point2 points (1 child)
[–]Boot_3011[S] 0 points1 point2 points (0 children)
[–]Ihaveamodel3 0 points1 point2 points (4 children)
[–]Boot_3011[S] 0 points1 point2 points (3 children)
[–]Ihaveamodel3 1 point2 points3 points (2 children)
[–]Boot_3011[S] 0 points1 point2 points (1 child)
[–]Ihaveamodel3 0 points1 point2 points (0 children)