The Python Oracle

What is a clean "pythonic" way to implement multiple constructors?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Switch On Looping

--

Chapters
00:00 Question
01:06 Accepted answer (Score 952)
01:52 Answer 2 (Score 924)
02:42 Answer 3 (Score 67)
03:39 Answer 4 (Score 31)
04:00 Thank you

--

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

Accepted answer links:
http://docs.python.org/reference/express...

Answer 2 links:
[class methods]: https://docs.python.org/library/function...

--

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

--

Tags
#python #class #constructor

#avk47