37 thoughts on “Google Python Class Day 2 Part 3”

Great contents, great delivery. I was able to learn the core of the language. The fact that I am using python 3.6 and had to modify the examples and exercises did not get in the way. In fact, it may have helped.

Hi,I really enjoyed watching your videos…they are simply interesting…could you please tell me how to code in python for data analytics…extracting data from the account and then check everything for the effectiveness of the marketing campaign…

I'm sharing my exercises for Google Python Class with Nick Parlante. All my solutions give the correct result without errors. Hope it helps someone who needs reference. Please let me know if you see anything I can improve. Here's the link: https://github.com/hancube/google-python-class

An issue which I am currently facing, if someone knows what's happening here, it will be helpful.When I am passing the list to sys.argv, such as sys.argv[1:], the error prompt is: TypeErrors: coercing to Unicode: need string or buffer, list found.However, when I pass sys.argv[1], the code works and prints the content of a single file, given in the terminal.This is occurring while following the example shown in the vid (timestamp: around 3:40 in the vid)

I am working on a Windows system, and am assuming this error has nothing to do with system?

Anyone know a group where we can join and help doing some python coding for fun.Or some freelance who can give some task, so we can learn from by working on some real project. ( I do that for free ). till I get some experience.

I may have missed this direction, but in case anyone is having problems with the place image (and you don't want to look at solution.py, or whatever), you have to sort the puzzle urls with respect to the second set of alphanumerics in the URL.

If you are also wondering, I am pretty sure those people asked a question that was supposed to be, "How can I print out the actual exception that was thrown and print that out but still keep running"?
import sys
import traceback

He didn't mention the custom sort required in the video for the place puzzle. But it is detailed in the support materials.

if the url ends in the pattern "-wordchars-wordchars.jpg", e.g. "foo/puzzle/bar-abab-baaa.jpg", then the url should be represented by the second word in the sort (e.g. "baaa"). So sorting a list of urls each ending with the word-word.jpg pattern should order the urls by the second word.