Python: Pemula

From OnnoWiki
Jump to navigation Jump to search
1. Whetting Your Appetite
Python: Penggunaan Interpreter
    2.1. Invoking the Interpreter
        2.1.1. Argument Passing
        2.1.2. Interactive Mode
    2.2. The Interpreter and Its Environment
        2.2.1. Source Code Encoding
Python: Pengantar Python Secara Informal
    3.1. Using Python as a Calculator
        3.1.1. Numbers
        3.1.2. Strings
        3.1.3. Lists
    3.2. First Steps Towards Programming
4. More Control Flow Tools
   4.1. if Statements
   4.2. for Statements
   4.3. The range() Function
   4.4. break and continue Statements, and else Clauses on Loops
   4.5. pass Statements
   4.6. Defining Functions
   4.7. More on Defining Functions
       4.7.1. Default Argument Values
       4.7.2. Keyword Arguments
       4.7.3. Arbitrary Argument Lists
       4.7.4. Unpacking Argument Lists
       4.7.5. Lambda Expressions
       4.7.6. Documentation Strings
       4.7.7. Function Annotations
   4.8. Intermezzo: Coding Style
5. Data Structures
   5.1. More on Lists
       5.1.1. Using Lists as Stacks
       5.1.2. Using Lists as Queues
       5.1.3. List Comprehensions
       5.1.4. Nested List Comprehensions
   5.2. The del statement
   5.3. Tuples and Sequences
   5.4. Sets
   5.5. Dictionaries
   5.6. Looping Techniques
   5.7. More on Conditions
   5.8. Comparing Sequences and Other Types



Referensi