Python Musings

Basic

Some Types:

  • Numeric
    • int, float, complex
  • Sequences/groups
    • tuple
      • (1, 2, 3)
      • ("A", "B", "C")
    • list
      • [1,2,3]
      • ["A", "B", "C"]
    • range (<int> [, <int> [, <int>]])
    • set
      • {1, 2, 3}
    • dictionary
      • {1:"A", "B":2, "C":"D", 3:4}
    • str (strings)
      • "abcdef"
      • """sldjflkj
        lksjdfljl
        """

Data Files

References:

Flask References:

HTML References: