bedus-creation / python_dd

The missing dd function in python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python dd

The missing dd function in python. The dd function is abbreviation of die and dump, which means prints the variable and stop the executions. Here, another, dump function is provided, which just prints the variable, and doesn't stop the execution.

Installation

pip install python_dd

Uses

from python_dd.dd import dd

dd("Hello")
dd(1)
dd(True, True, False, 1, 2)

or

from python_dd.dd import dump

dump("Hello")
dump(1)
dump(True, False, 1, 2)

About

The missing dd function in python


Languages

Language:Python 98.7%Language:Shell 1.3%