Day 36 Reviewed project of the day – a Bloomberg terminal for tracking stock prices and news relevant to the stocks. Reviewed requirements and created app. The app first uses a stock prices API to pull historical price data for a specified stock. The stock then checks if today’s closing
Day 31 Capstone project day – Flash Cards (using tkinter) for learning most frequently used words in any language. Built app GUI without walkthrough guide. Used Pandas to convert csv of French -> English translations Added logic to show target language for 3 seconds before flipping card to show English.
Day 26 Learned about list comprehensions (creating a new list by executing a function on an existing list New_list = [new_item for item in list] Sequences = lists, ranges, strings and tuples (order matters) List comprehension can iterate over these data types in order to generate the new list. Reviewed
Day 21 Learned about Class Inheritance. Classes can inherit appearance and behavior from parent classes. Simply include it in the parentheses of the class call (e.g. class Fish(Animal)) and add super().__init__() to the definition method. If methods of the subclass add to the methods of the superclass, the super().method() must
Day 16 Began move from Procedural Programming to Object Oriented Programming OOP Splits larger tasks into smaller pieces that can be worked on separately. Used illustration of a restaurant and the division of responsibilities among employees Projects can become more complex with OOP. Classes and Objects Modeling includes determining what
Day 11 Blackjack Capstone project Successfully completed project Blackjack game. Reviewed Angela Yu’s solution for the project. Observations: Angela’s project was somewhat heavier with its function usage. She used a function for every major (and repeatable) action in the game (dealing a card, calculating scores, comparing scores). I used a
Day 6 Discussed functions, including built-in functions and user-defined functions. Reviewed Indentation. Python guidelines recommend using spaces, but the point is somewhat moot considering IDEs can be set to interpret tabs as the correct number of spaces. Reviewed While loops. Generally, For loops are for when you need to do
Hi Everyone, It’s been 6 months since my last post, but I’m still here. The last several months have been very busy, but I’m excited to start blogging again. I’m going to start using this space to start journaling the things that I learn in Python. As someone who does