#100DaysOfCode, Day 004 – The Collections Module
Decided to watch the videos for day 4 since I am a day behind. The exercises look complicated, but the collections module looks like a real time saver. Will give it a go tomorrow.
Decided to watch the videos for day 4 since I am a day behind. The exercises look complicated, but the collections module looks like a real time saver. Will give it a go tomorrow.
Worked an hour for the past two days, exerting all of my python knowledge at the small project they gave me. Try as I might, I could not do it. So looked at the solution. And realised, while it was all logical, I couldn’t for the life of me have written that code on my own. Long way to travel. Lots of work to do.
Watched videos for the tiny projects to do over the next two days. We begin with a date/time project. Python has objects (primitives) to deal with dates and times. They are part of the datetime module, which is part of the Python Standard Library. I learnt that I could add and subtract and otherwise modify dates, easily if my date data was in this format. Will play more with this tomorrow. ...
Ok, the last time I tried this, life got in my way. Second time lucky? Last time, I crashed and burned. So, to quote Rascal Flatts, On your knees you look up Decide you’ve had enough You get mad, you get strong Wipe your hands, shake it off Then you stand. … Every time you get up And get back in the race One more small piece of you Starts to fall into place. ...
Today was cautious fun :) What did I do today? I got a rough journal working switched to vscode as my programming editor (still using emacs for my other writing.) will move back to emacs when I have the time to sharpen the saw, because I want an editor that I can use 30 years from now. Right now though, I cannot afford to yak shave. What did I learn? ...
Lots of new concepts today … What did I do today? Watched the videos on how to make a mini journal app. What did I learn? Today was a doozy I learnt about lists, more conditionals, how to use files for storage & write to a disk independent of what os I’m using, how the main() function kicks things off, and how to use different files for different parts of a program to keep things cleaner and more organised. While I began well, I’ve gotten thoroughly confused as the class went on. I know these things individually (I think), but the putting it all together, feels like drawing the rest of the fucking owl. Hope things get clearer tomorrow, as I begin to actually write the program. ...