Sitemap
Jake Salter

Jake Salter

Drum & Bass & Corn Flakes

Project Python: Part 2

2 min readMay 18, 2017
Press enter or click to view image in full size
Yes, that’s right, I’m using the same friggin’ image as the last post because I can’t find a better (and free) one — and because it momentarily makes me look smart until the reader sees how much I’m struggling in the post below.

Get Jake Salter’s stories in your inbox

Join Medium for free to get updates from this writer.

Hello, I’m back with part 2 of Project Python! By the time I’d written the first part of this series, I’d flown through three chapters in the Automate The Boring Stuff With Python book (which, for the sake of brevity, I’ll be shortening to ATBSWP from now on). Well, it’s getting much harder; I’m down to one chapter per day now.

I am still resolute in my approach to this challenge. It’s been lists, tuples and dictionaries for the past couple of days. Al Sweigart has been humouring me through it – with the creation of a game of noughts and crosses (or tic-tac-toe to some) being one of the activities I’ve encountered. The practice tasks at the end of chapters four and five have been proper testers of my ability, and I’ve been failing every time – however, not without much musing.

What is most encouraging for me is that I’m starting to understand the Python language a lot more easily. I can discern, most of the time, how the code brought about the given output. My problem is writing the code from scratch. I regularly trip up and find myself referring to other sources for backup. It initially feels like cheating, but I’ve managed to convince myself that it’s not, because I tend to spend the following hour or so staring at the code I’ve typed out; and, once I feel I understand it, I move on.

I only have one chapter left in ATBSWP until Part 2 begins. The second section is all about applying the knowledge I’ve gained from the previous activities to practical tasks, such as extracting information from the web and documents, creating automation processes and manipulating images. I’ve concluded that tackling it too soon is far too big a leap, and I’m going to go back through Part 1 of the book and reinforce my knowledge before I enter this new territory.

I’m regularly distracted through all of this, but that’s because I’m allowing it. I need to improve my self-discipline.

Aside from the ATBSWP, I subscribed to a YouTube channel today, featuring a guy called Corey Schafer. I haven’t watched any videos yet, but I’ve seen that he’s uploaded a lot of new beginner Python material.

Well done if you made it this far down my blog post, because I’ve just read it back to myself and I managed to bore myself – even the sentence structure is poor. It’s all part of the process though.

If you are a Python beginner or enthusiast, feel free to share your stories in the comments. And, if you’re wondering what this is all about, check my last entry.

--

--