About 50 results
Open links in new tab
  1. 5. Data Structures — Python 3.14.3 documentation

    4 days ago · Another useful data type built into Python is the dictionary (see Mapping Types — dict). Dictionaries are sometimes found in other languages as “associative memories” or “associative arrays”.

  2. Data Types — Python 3.14.3 documentation

    4 days ago · Python also provides some built-in data types, in particular, dict, list, set and frozenset, and tuple. The str class is used to hold Unicode strings, and the bytes and bytearray classes are used to …

  3. queue — A synchronized queue class — Python 3.14.3 documentation

    4 days ago · A typical pattern for entries is a tuple in the form: (priority_number, data). If the data elements are not comparable, the data can be wrapped in a class that ignores the data item and only …

  4. heapq — Heap queue algorithm — Python 3.14.3 documentation

    4 days ago · Various structures for implementing schedulers have been extensively studied, and heaps are good for this, as they are reasonably speedy, the speed is almost constant, and the worst case is …

  5. pickle — Python object serialization — Python 3.14.3 documentation

    4 days ago · Python has a more primitive serialization module called marshal, but in general pickle should always be the preferred way to serialize Python objects. marshal exists primarily to support …

  6. Functional Programming HOWTO — Python 3.14.3 documentation

    Functional programming wants to avoid state changes as much as possible and works with data flowing between functions. In Python you might combine the two approaches by writing functions that take …

  7. Built-in Functions — Python 3.14.3 documentation

    4 days ago · Python doesn’t depend on the underlying operating system’s notion of text files; all the processing is done by Python itself, and is therefore platform-independent.

  8. collections — Container datatypes — Python 3.14.3 documentation

    4 days ago · collections — Container datatypes ¶ Source code: Lib/collections/__init__.py This module implements specialized container datatypes providing alternatives to Python’s general purpose built …

  9. The Python Standard Library — Python 3.14.3 documentation

    4 days ago · The library contains built-in modules (written in C) that provide access to system functionality such as file I/O that would otherwise be inaccessible to Python programmers, as well as …

  10. The Python Tutorial — Python 3.9.24 documentation

    Mar 9, 2024 · Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming.