The Python Oracle

How do I call setattr() on the current module?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 3

--

Chapters
00:00 How Do I Call Setattr() On The Current Module?
00:37 Accepted Answer Score 286
01:19 Answer 2 Score 15
01:41 Answer 3 Score 6
02:01 Thank you

--

Full question
https://stackoverflow.com/questions/2933...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #module #globalvariables #getattr #setattr

#avk47