- Python Programming Blueprints
- Daniel Furtado Marcus Pennington
- 214字
- 2021-06-24 18:53:45
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: 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: "This method will call the method exec of the Runner to execute the function that performs the requests to the Twitter API."
A block of code is set as follows:
def set_header(self):
title = Label(self,
text='Voting for hasthags',
font=("Helvetica", 24),
height=4)
title.pack()
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
def start_app(args):
root = Tk()
app = Application(hashtags=args.hashtags, master=root)
app.master.title("Twitter votes")
app.master.geometry("400x700+100+100")
app.mainloop()
Any command-line input or output is written as follows:
python app.py --hashtags debian ubuntu arch
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: "It says, Logged as with your username, and right after it there is a logout link. Give it a go, and click on the link Log off"
- 黑客攻防實戰技術完全手冊:掃描、嗅探、入侵與防御
- 智慧城市:大數據、互聯網時代的城市治理(第4版)
- 網管員典藏書架:網絡管理與運維實戰寶典
- 從區塊鏈到Web3:構建未來互聯網生態
- Proxmox High Availability
- 物聯網+BIM:構建數字孿生的未來
- 智慧城市中的移動互聯網技術
- Echo Quick Start Guide
- Getting Started with Memcached
- Practical Web Penetration Testing
- 5G技術核心與增強:從R15到R17
- TCP/IP基礎(第2版)
- 精通SEO:100%網站流量提升密碼
- 物聯網M2M開發技術:基于無線CPU-Q26XX
- 物聯網傳感器技術與應用