Steve is Coding! (@SteveisCoding) header
Steve is Coding! (@SteveisCoding) profile picture

Learning Python. That's enough of a bio for now!

Joined June 2021
R1:D36 - #Python #100DaysOfCode: Made a tip calculator and refreshed how to format floats so it looks like a currency (in this case, so it looks like $33.60 instead of $33.6).
2
2
R1:D36 - #Python #100DaysOfCode, continued: Sent my first email through Python! 📨♥️🐍
1
10
R1:D35 - #Python #100DaysOfCode Ok, fun! Started learning about web scraping today. I scraped the Wikipedia page on web scraping as an example.
3
Excellent! I do some carving/pyrography, too.
7
Replying to @flointech
I see debates on here all the time about which is better.
1
R1:D32 - #Python #100DaysOfCode Learned about some fun modules, like the collections module. You can set a default dictionary to prevent key errors from occurring for invalid selections. I was hungry, so my mind went to the grocery store's computers when cashiers look up items.
1
1
R1:D31 - #Python #100DaysOfCode: Generators (using yield, next, and iter). In driving, I think stop signs should be yield due to efficiency. Funny! "yield" helps run code without storing it in memory because it's more efficient. Iter helps iterate. Next is the next iteration.
1
5
R1:D28 - #Python #100DaysOfCode: Struggled with unittest tests. I have both @ProjectJupyter, as well as @AtomEditor. My cap.py file says: def cap_text(text): return text.title() I get this for test_cap.py within Atom. It's fine through the command line.
1
1
R1:D27 - #Python #100DaysOfCode: Errors happen. We expect them to happen. That's why we handle them with exceptions, which allow code to continue despite the errors. These keywords help: • 'try:' • 'except:' • 'finally:' Here is a SIMPLE example that avoids a TypeError.
2
6
R1: D23 - #Python #100DaysOfCode: Class inheritance. You get DNA from your parents. Derived Classes get code from their parent (or base) classes. Boom!
3
1
R1: D22 - #100DaysOfCode (#Python), continued: How many of y'all like Molasses Pie? Example of a class. A very, very simple example.
6
3
R1: D22 - #100DaysOfCode (#Python), continued: An instance is an object created from a particular class. Didn't know that? I didn't either until today!
1
1