Instructions often need some extra explanation so that they make sense, so they are followed with:
This heading explains the working of tasks or instructions that you have just completed.
You will also find some other learning aids in the book, including:
These are short multiple choice questions intended to help you test your own understanding.
These set practical challenges and give you ideas for experimenting with what you have learned.
You will also find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "Running CherryPy's setup.py
script installs a number of modules in Python's Libsite-packages
directory."
A block of code is set as follows:
<div id="main"> <ul> <li>one</li> <li class="highlight">two</li> <li>three</li> </ul> </div> <div id="footer">footer text</div>
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
t=t+'<thead class="ui-widget-header">
<tr class="ui-helper-reset"><th></th>';
for(i=0;i<opts.cols;i=i+1){
t=t+'<th class="ui-helper-reset">' +
String.fromCharCode(65+i)+"</th>";
}
Any command-line input or output is written as follows:
python -c "import cherrypy"
New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "New books or authors may be added by clicking the Add new button."
Tips and tricks appear like this.
18.119.159.178