Skip to content

Latest commit

 

History

History
73 lines (72 loc) · 1.83 KB

python101.md

File metadata and controls

73 lines (72 loc) · 1.83 KB

Python 101

  • Python 101 (3.x)
    • Installation
    • Using Interpreter
    • Whitespaces, Indentation and Comments
    • Variables
      • Keywords
      • Identifiers
    • Datatypes
      • Integer
      • Float
      • String
        • String Validation - islower(), isupper(), isalnum(), isdigit(), isalpha(), istitle()
        • String Manipulation - title(), lower(), upper(), swapcase()
        • String Strip - strip(), lstrip(), rstrip()
        • String Find - find(), startswith(), endswith()
        • String Length - len()
      • Boolean
      • Type Conversion - str(), int(), float(), type()
    • Reading Input
    • Printing Output
    • Operators
      • Mathematical
        • +, -, *, /, //, %
      • Shorthand
        • +=, -=, *=, /=, //=
      • Relational
        • <, >, <=, >=, ==,!=
      • Logical
        • and, or, not
    • Expression
      • Regular Expression
    • Conditional Operators
      • if, if-else, if-elif-else
      • Truth Value Testing
    • Loops
      • range()
      • for, while, do-while
    • Data Structure
      • List
        • List Comprehension
        • List Functions - len(), append(), pop(), insert(), count(), reverse(), remove(), extend(), zip(), del
        • List
      • Tuple
      • Set
        • Set Theory
      • Dictionary
        • Dictionary Functions - items(), keys(), values(), enumerate()
    • Function
      • Definition
      • Local and Global Scope
      • Default Argument
      • Keyword Argument
      • Higher Order Function
    • File Handling
      • File Opening - open(), with open() as
      • File Closing - close()
      • File Reading - read()
      • File Writing - write()
    • Exception Handling
      • Keywords - try, except, finally
      • Error Types
        • NameError
        • ValueError
        • TypeError
      • Raising Exception - raise
    • Class
      • Definition - class
      • Constructor - init
      • Getting and Setting Properties
      • Inheritance
      • Method of Class