第5页 | A Byte of Python | 阅读 ‧ 电子书库

同步阅读进度,多语言翻译,过滤屏幕蓝光,评论分享,更多完整功能,更好读书体验,试试 阅读 ‧ 电子书库

Document Outline

 

 

 

 
Python Introduction Who Reads 'A Byte of Python'? Feedback From Readers Academic Courses Even NASA Official Recommendation License Read Now Buy the Book Download Translations Python en:Table of ContentsPython en:Translations Chinese Chinese Traditional Italian German Norwegian (bokmål) Indonesian Polish Catalan Portuguese Romanian Brazilian Portuguese French Danish Spanish Arabic Swedish Russian and Ukranian Turkish Mongolian Python en:Preface Who This Book Is For History Lesson Status Of The Book Official Website License Feedback Buy the Book Something To Think About Python en:Introduction Introduction Features of Python Why not Perl? Why not Ruby? What Programmers Say About Python 3.0 Python en:Installation For Linux and BSD users For Windows Users DOS Prompt For Mac OS X Users Summary Python en:First Steps Introduction Using The Interpreter Prompt Choosing An Editor Using A Source File How It Works Executable Python Programs Getting Help Summary Python en:Basics Literal Constants Numbers Strings Single Quotes Double Quotes Triple Quotes Escape Sequences Raw Strings Strings Are Immutable String Literal Concatenation The format Method Variables Identifier Naming Data Types Objects Example: Using Variables And Literal Constants Logical And Physical Lines Indentation Summary Python en:Operators and Expressions Introduction Operators Shortcut for math operation and assignment Evaluation Order Changing the Order Of Evaluation Associativity Expressions Summary Python en:Control Flow Introduction The if statement The while Statement The for loop The break Statement Swaroop's Poetic Python The continue Statement Summary Python en:Functions Introduction Function Parameters Local Variables Using The global Statement Using nonlocal statement Default Argument Values Keyword Arguments VarArgs parameters Keyword-only Parameters The return Statement DocStrings Annotations Summary Python en:Modules Introduction Byte-compiled .pyc files The from ... import ... statement A module's __name__ Making Your Own Modules The dir function Packages Summary Python en:Data Structures Introduction List Quick Introduction To Objects And Classes Tuple Dictionary Sequences Set References More About Strings Summary Python en:Problem Solving The Problem The Solution Second Version Third Version Fourth Version More Refinements The Software Development Process Summary Python en:Object Oriented Programming Introduction The self Classes Object Methods The __init__ method Class And Object Variables Inheritance Summary Python en:Input Output Introduction Input from user Files Pickle Summary Python en:Exceptions Introduction Errors Exceptions Handling Exceptions Raising Exceptions Try .. Finally The with statement Summary Python en:Standard Library Introduction sys module logging module urllib and json modules Module of the Week Series Summary Python en:More Introduction Passing tuples around Special Methods Single Statement Blocks Lambda Forms List Comprehension Receiving Tuples and Lists in Functions exec and eval The assert statement The repr function Summary Python en:What Next Example Code Questions and Answers Tips and Tricks Books, Papers, Tutorials, Videos Discussion News Installing libraries Graphical Software Summary of GUI Tools Various Implementations Summary Python en:Appendix FLOSS Free/Libre and Open Source Software (FLOSS) Python en:Appendix About Colophon Birth of the Book Teenage Years Now About The Author Python en:Appendix Revision HistoryPython en:Appendix Changes for Python 3000License

请支持我们,让我们可以支付服务器费用。
使用微信支付打赏


上一页 · 目录下一页


下载 · 书页 · 阅读 ‧ 电子书库