In this book, you will 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: "Save it as PandaSettings.vsprops
in a directory of your choice."
A block of code is set as follows:
from direct.showbase.ShowBase import ShowBase class Application(ShowBase): def __init__(self): ShowBase.__init__(self)
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
from direct.showbase.ShowBase import ShowBase class Application(ShowBase): def __init__(self): ShowBase.__init__(self)
Any command-line input or output is written as follows:
pzip -9 model.egg
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: "If you can’t find it this way, click View | Property Manager in the main menu".
Tips and tricks appear like this.