Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “Replace amazon-braket-Your-Bucket-Name
with the bucket instance name and Your-Folder-Name
with the folder name you created in the S3 bucket instance. Keep the quotes.”
A block of code is set as follows:
device_name_list=[] for device in device_list: device_name_list.append(device.name) print('Valid device names: ',device_name_list)
Output generated by the code is set as follows:
Output
Valid device names: ['Advantage_system4.1', 'Advantage_ system6.1', 'Aspen-M-1', 'DW_2000Q_6', 'IonQ Device', 'SV1', 'TN1', 'dm1']]
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
[default] exten => s,1,Dial(Zap/1|30) exten => s,2,Voicemail(u100) exten => s,102,Voicemail(b100) exten => i,1,Voicemail(s0)
Any command-line input or output is written as follows:
pip install jupyterlab pip install notebook
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: “Now select the Access keys section and then click on Create new Access Key to create a unique security key.”
Italics: Indicates references to figures, tables, or chapters in the book along with any term that would be in quotes. Here is an example: “While the service is running, it incurs a small charge, which is covered in Chapter 3, User Setup, Tasks, and Understanding Device Costs.”
Tips or important notes
Appear like this.