Giter Club home page Giter Club logo

pyconsole-util's Introduction

pyconsole_util

The python console utility is a basic set of functions that print to the console in different formats for debugging, exploring, or printing nicely.

You can see some samples below and in the source code itself

alt text

util.startup(*args)

*args can be anything normally able to be printed with print()

When you are initializing variables, uploading to documents, setting up pins on a board, etc- use this to print out that those things are initializing.

Sends in yellow

util.title(*args)

*args can be anything normally able to be printed with print()

Whenever a new block of your code begins, use this block of code to display that.

Sends in white text with a green background

util.endline(*args)

*args can be anything normally able to be printed with print()

Whenever a block of code ends, use this to signal that

util.debug(*args, title=None)

*args can be anything normally able to be printed with print() title is an optional parameter that appears to the left of the location

Displays the absolute path to the file and the line number the function was called on, underlined. The other arguments will be printed out. All in red.

util.info(*arg)

*arg can be any object

Prints out all of the members of an object in teal, organizes dictionaries and arrays for print.

pyconsole-util's People

Forkers

nasingfaund

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.