GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • samuelcolvin/python-devtools
  • Overview
  • Install
  • Usage
  • Changelog

This view

  • Original page
  • New address

GeezerVison is showing python-devtools.helpmanual.io — Overview - python-devtools

Python devtools🔗

CI Coverage pypi versions license

Documentation for version: v0.13.0

Python's missing debug print command and other development tools.

from devtools import debug

v1 = {
    'foo': {1: 'nested', 2: 'dict'},
    'bar': ['apple', 'banana', 'carrot', 'grapefruit'],
}

debug(v1, sum(range(5)))
examples/example.py:8 <module>
    v1: {
        'foo': {
            1: 'nested',
            2: 'dict',
        },
        'bar': [
            'apple',
            'banana',
            'carrot',
            'grapefruit',
        ],
    } (dict) len=2
    sum(range(5)): 10 (int)

Python devtools can do much more, see Usage for examples.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.