
Learning Python. That's enough of a bio for now!
Joined June 2021
- Tweets135
- Following179
- Followers35
- Likes33
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).
#100DaysOfCode Imposter Syndrome is tough to beat.
Keep going.
I have it, too, and a pretty bad case. I wonder if I'm prioritizing my time correctly if I choose to code.
"More qualified people will handle this."
That is, until I'm qualified, which will come with hard work.
Finished one #Python Udemy course. Now on to one that I'm pretty excited about. I'll be posting about more actual projects.
Time to start "100 Days of Code - The Complete Python Pro Bootcamp for 2021"
1
R1:D36 - #Python #100DaysOfCode, continued:
Sent my first email through Python! 📨♥️🐍
R1:D36 - #Python #100DaysOfCode
Used the pillow library to work with images. You can resize, change opacity, rotate, and much more.
Then, I used the csv and PyPDF libraries to work with CSVs and PDFs. This stuff is going to be useful to me!
Beware: UnicodeDecodeError 😲
R1:D35 - #Python #100DaysOfCode
Ok, fun! Started learning about web scraping today. I scraped the Wikipedia page on web scraping as an example.
3
#Python, #100DaysOfCode
I've covered:
Python Setup
Object & Data Structure Basics
Comparison Operators
Statements
Methods & Functions
Object Oriented Programming
Modules & Packages
Errors & Exceptions Handling
Decorators
Generators
Advanced Modules
Next comes the real fun!
R1:D34 - #Python #100DaysOfCode
Covered the timing of code: tracking time elapsed, using the timeit module, and &&timeit "magic" for @ProjectJupyter notebooks. Also reviewed previous lessons, playing with different little ideas I have.
7
R1:D33 - #Python #100DaysOfCode
Covered regular expressions and the "re" (regular expression operations) library. Good stuff. Here's an awesome cheat sheet by @dataquestio. This will be helpful with #datascience as I learn more about that.
dataquest.io/wp-content/uplo…
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.
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.
R1:D30 - #Python #100DaysOfCode:
Learned about decorators to modify the behavior of functions or classes easily.
Also, a big shout-out to @GoGeocaching! My kids and I found our 100th geocache today. This was a fun activity during covid and will continue on much longer.
3
While I participate in the #100DaysOfCode, I need to ask: what else did you do today other than code (or computer-related activities)?
It's important to go analogue sometimes! Technology is to serve humanity, not the other way around.
4
R1:D29 - #Python #100DaysOfCode:
I did a code-along to write a blackjack game. It would help if I remembered the rules of blackjack beforehand, but I won't forget now that I coded the game!
4
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.
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.
Some execs don't have a degree. How'd they get there? Free online courses that mimicked the curricula of the world's best programs in their fields, and made their cases. Where are these courses?
@freeCodeCamp has one of the best CS lists I've seen.
freecodecamp.org/news/free-o…
1
If you're doing your first #100DaysOfCode as a total n00b at coding (#Python), what would be your operating system of choice (as it relates to coding) and why?
R1:D26 - #Python #100DaysOfCode:
Learned how to create packages, subpackages, and modules. I'd say, "Don't forget the __init__.py file!" but I just came across namespace packages and will explore that later. Also learned about "if __name__ == '__main__':". It's for your own good







