More Than One Way to Skin a Snake
Same title (skin the cat) still applies here but as a post script edit, I'm going to give it an entirely different spin. Here it goes:
My current Py project has evolved into needing a customized data structure. Never mind its specifics. Maybe I'll come back to that later.
As I started formulating the ideas / concepts for the customized data structure, I recalled having vaguely seen mention of a thing called "DataClasses". Had no idea what it actually was. It intrigued me. So I started chasing after it (started searching for clues).
Turned out to be a popular topic. Many, many tutorials about it.
So should I pick just one lecturer (e.g. Tech with Tim/other (TwT, TwX), Indently, Bro Code, Mosh, Nana, ... or any of the other many free Py tutors) and stick with him or her?
No. Turned out that jumping around allowed to pick up different nuances about the stuff they were talking about, some of which was first time for me. More specifically, the automatically filled dunder functions of __init__, __repr__ and ??? (forgot) ... to be continued
work-in-progressMORE TO EXPLORE
The unicodes include various escape codes such as /n, /t, /r and so on
One of the listed escapes says it moves the cursor print point on you console up n number of lines
Problem is, when I tried using that escape, it didn't work.
What now?
Give up?
TO BE CONTINUED ....
Comments
Post a Comment