- Hands-On Penetration Testing with Python
- Furqan Khan
- 104字
- 2021-07-02 14:13:52
Indentation
If you come from a background of a language such as Java, C, or C++, you might be familiar with the concept of grouping logically connected statements using curly braces. This is not the case, however, in Python. Instead, the logically connected statements, including classes, functions, conditional statements, and loops, are grouped using indentation. Indentation keeps the code clean and easy to read. We shall explore this in more detail in the coming sections. For now, however, let's say goodbye to braces. I recommend that you use tabs for indentation, as typing an equal number of spaces in every line becomes very time-consuming.
推薦閱讀
- 數(shù)據(jù)庫(kù)程序員面試筆試真題與解析
- JavaScript 從入門到項(xiàng)目實(shí)踐(超值版)
- 青少年美育趣味課堂:XMind思維導(dǎo)圖制作
- Python Data Analysis(Second Edition)
- Effective Python Penetration Testing
- SQL Server 2016數(shù)據(jù)庫(kù)應(yīng)用與開(kāi)發(fā)習(xí)題解答與上機(jī)指導(dǎo)
- iOS開(kāi)發(fā)實(shí)戰(zhàn):從入門到上架App Store(第2版) (移動(dòng)開(kāi)發(fā)叢書(shū))
- 新印象:解構(gòu)UI界面設(shè)計(jì)
- Vue.js 3應(yīng)用開(kāi)發(fā)與核心源碼解析
- 網(wǎng)絡(luò)數(shù)據(jù)采集技術(shù):Java網(wǎng)絡(luò)爬蟲(chóng)實(shí)戰(zhàn)
- Monitoring Docker
- 從零開(kāi)始構(gòu)建深度前饋神經(jīng)網(wǎng)絡(luò):Python+TensorFlow 2.x
- 計(jì)算機(jī)常用算法與程序設(shè)計(jì)教程(第2版)
- Opa Application Development
- 深度學(xué)習(xí):基于Python語(yǔ)言和TensorFlow平臺(tái)(視頻講解版)