June 2017
Beginner to intermediate
274 pages
6h 49m
English
Now, let's take look at how to add actual code to the package and look out for a couple of pitfalls to avoid.
Python modules have the same name as objects that they have as filenames, except without the .py suffix. This means that the filenames need to be valid Python variable names and also that they should use letters and symbols that are reliably available across different operating systems. The following screenshot showns an example for this:

So, module names should not start with a number because Python variables are not allowed to start with numbers. Also, it should not use capital letters because some ...
Read now
Unlock full access