From the course: Python Practice: Real-World Coding Challenges

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Solution: Handling arguments

Solution: Handling arguments

(upbeat music) - In this challenge, you might have discovered that tearing apart Python files isn't as easy as it might seem at first glance. I start by creating two directories, canvases and scribes. So canvases holds the canvas axis and canvas space class, and then scribes holds the plot scribe, random scribe, robot scribe, and terminal scribe. The error classes went to their own errors dot py file. And then I also added a utility file down here to hold our is number function. This might seem like overkill, but there was really nowhere better to put it because it's used by multiple classes. And we might also want to spot for other utility functions in the future. So, you probably did something similar to this, or at least started with something similar to this. However you want to break up your classes is fine. But did you notice any problems when you tried to create a canvas or scribe object from a file?…

Contents