Questions on the source code of the Python version

#1
  1. Are the solutions available on github or just the website? Because cloning the repo is much easier…
  2. How do I run them the solutions? I saw some of them have a main function. Sorry if that’s obvious, a bit of a python newbie myself…
0 Likes

#2

Hi @inoam,

Thanks for your question, and following is my answer:

  1. It is only available on the website now. We are still working on a better framework for everyone to clone.
  2. To run those code, just type python3 <file.py>
0 Likes

#3

Got it. Thanks for the quick answer!

0 Likes

#4

By the way,
What’s those @include/@exclude I see sometimes in answers?

0 Likes

#5

Those are the macro we defined to pull in the necessary codes in the book. Because there are lots of boilerplate code we don’t want to show in the book but those are necessary for the code to run.

0 Likes