Skip to content

python library for prettifying, and printing dictionaries

License

Notifications You must be signed in to change notification settings

PiciAkk/printJSON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

printJSON

python library for prettifying, and printing dictionaries

Usage

  1. Clone this repository
git clone https://github.com/PiciAkk/printJSON
  1. Go to the directory, you just cloned
cd printJSON
  1. Make a file, or start a Python shell in that directory
touch example.py
  1. Import this module
import printJSON
  1. Write something to the screen
printJSON.printJSON({"key": "value", "anotherkey": "anothervalue", "something": {"subkey": "subvalue"}})
  1. Tada!

Output:

{
    "key": "value",
    "anotherkey": "anothervalue",
    "something": {
        "subkey": "subvalue"
    }
}

Thanks for the code

Releases

No releases published

Packages

No packages published

Languages